Skip to content

Commit 6035827

Browse files
committed
Auto merge of #28966 - ykomatsu:trpl, r=steveklabnik
2 parents 84ff665 + 9652fc1 commit 6035827

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/doc/trpl/testing.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ fn it_works() {
8282
```
8383

8484
`assert!` is a macro provided by Rust which takes one argument: if the argument
85-
is `true`, nothing happens. If the argument is false, it `panic!`s. Let's run
85+
is `true`, nothing happens. If the argument is `false`, it `panic!`s. Let's run
8686
our tests again:
8787

8888
```bash
@@ -289,7 +289,7 @@ running 0 tests
289289
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured
290290
```
291291

292-
The `--ignored` argument is an argument to the test binary, and not to cargo,
292+
The `--ignored` argument is an argument to the test binary, and not to Cargo,
293293
which is why the command is `cargo test -- --ignored`.
294294

295295
# The `tests` module
@@ -367,7 +367,7 @@ It works!
367367
The current convention is to use the `tests` module to hold your "unit-style"
368368
tests. Anything that just tests one small bit of functionality makes sense to
369369
go here. But what about "integration-style" tests instead? For that, we have
370-
the `tests` directory
370+
the `tests` directory.
371371

372372
# The `tests` directory
373373

0 commit comments

Comments
 (0)