Skip to content

Commit f83e774

Browse files
committed
Single concept per test
1 parent 1460272 commit f83e774

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README-zh-CN.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1847,9 +1847,9 @@ or refactoring an existing one.
18471847
块编写测试。 如果你倾向于测试驱动开发(TDD), 那就太棒了, 但是要点是确认你在上线任何功能或者重
18481848
构一个现有功能之前, 达到了需要的目标覆盖率。
18491849

1850-
### Single concept per test
1850+
### 一个测试一个概念
18511851

1852-
**Bad:**
1852+
**不好的:**
18531853
```javascript
18541854
const assert = require('assert');
18551855

@@ -1872,7 +1872,7 @@ describe('MakeMomentJSGreatAgain', () => {
18721872
});
18731873
```
18741874

1875-
**Good**:
1875+
**好的:**
18761876
```javascript
18771877
const assert = require('assert');
18781878

0 commit comments

Comments
 (0)