Skip to content

Commit f444c75

Browse files
authored
Merge pull request #1210 from adispring/unit_testing_wrong_result
[typo] fix unit_testing wrong output
2 parents 2a81054 + 3dadd56 commit f444c75

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/testing/unit_testing.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,12 @@ mod tests {
200200

201201
```shell
202202
$ cargo test
203-
running 1 test
203+
running 3 tests
204204
test tests::ignored_test ... ignored
205+
test tests::test_add ... ok
206+
test tests::test_add_hundred ... ok
205207

206-
test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out
208+
test result: ok. 2 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out
207209

208210
Doc-tests tmp-ignore
209211

0 commit comments

Comments
 (0)