Skip to content

Commit 8957a71

Browse files
authored
Merge pull request #1768 from aviad-dev/patch-1
fix test name in cargo/test.md
2 parents dfc44e4 + 3d15fdf commit 8957a71

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/cargo/test.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ $ cargo test
4242
Finished dev [unoptimized + debuginfo] target(s) in 0.89 secs
4343
Running target/debug/deps/blah-d3b32b97275ec472
4444

45-
running 3 tests
45+
running 4 tests
4646
test test_bar ... ok
4747
test test_baz ... ok
4848
test test_foo_bar ... ok
4949
test test_foo ... ok
5050

51-
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
51+
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
5252
```
5353

5454
You can also run tests whose name matches a pattern:
@@ -135,7 +135,7 @@ Corro
135135
```
136136
What actually gets put into `ferris.txt` is this:
137137
```shell
138-
$ cargo test test_foo
138+
$ cargo test test_file && cat ferris.txt
139139
Corro
140140
Ferris
141141
Corro

0 commit comments

Comments
 (0)