mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
Rollup merge of #37283 - posborne:docs/tests-dir-grammar-fixes, r=steveklabnik
Fix grammatical errors in `tests` directory docs
This commit is contained in:
@@ -380,9 +380,9 @@ the `tests` directory.
|
||||
|
||||
# The `tests` directory
|
||||
|
||||
Each file in `tests/*.rs` directory is treated as individual crate.
|
||||
So, to write an integration test, let's make a `tests` directory, and
|
||||
put a `tests/integration_test.rs` file inside, with this as its contents:
|
||||
Each file in `tests/*.rs` directory is treated as an individual crate.
|
||||
To write an integration test, let's make a `tests` directory and
|
||||
put a `tests/integration_test.rs` file inside with this as its contents:
|
||||
|
||||
```rust,ignore
|
||||
extern crate adder;
|
||||
|
||||
Reference in New Issue
Block a user