Skip to content

Commit dfb74ee

Browse files
Rollup merge of rust-lang#37283 - posborne:docs/tests-dir-grammar-fixes, r=steveklabnik
Fix grammatical errors in `tests` directory docs
2 parents 123a6ef + d79ec7e commit dfb74ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/doc/book/testing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -380,9 +380,9 @@ the `tests` directory.
380380

381381
# The `tests` directory
382382

383-
Each file in `tests/*.rs` directory is treated as individual crate.
384-
So, to write an integration test, let's make a `tests` directory, and
385-
put a `tests/integration_test.rs` file inside, with this as its contents:
383+
Each file in `tests/*.rs` directory is treated as an individual crate.
384+
To write an integration test, let's make a `tests` directory and
385+
put a `tests/integration_test.rs` file inside with this as its contents:
386386

387387
```rust,ignore
388388
extern crate adder;

0 commit comments

Comments
 (0)