Skip to content

Commit

Permalink
Merge pull request #1768 from aviad-dev/patch-1
Browse files Browse the repository at this point in the history
fix test name in cargo/test.md
  • Loading branch information
marioidival committed Nov 18, 2023
2 parents dfc44e4 + 3d15fdf commit 8957a71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cargo/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ $ cargo test
Finished dev [unoptimized + debuginfo] target(s) in 0.89 secs
Running target/debug/deps/blah-d3b32b97275ec472

running 3 tests
running 4 tests
test test_bar ... ok
test test_baz ... ok
test test_foo_bar ... ok
test test_foo ... ok

test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
```

You can also run tests whose name matches a pattern:
Expand Down Expand Up @@ -135,7 +135,7 @@ Corro
```
What actually gets put into `ferris.txt` is this:
```shell
$ cargo test test_foo
$ cargo test test_file && cat ferris.txt
Corro
Ferris
Corro
Expand Down

0 comments on commit 8957a71

Please sign in to comment.