diff --git a/src/testing/integration_testing.md b/src/testing/integration_testing.md index a4345ae945..0ac77588c3 100644 --- a/src/testing/integration_testing.md +++ b/src/testing/integration_testing.md @@ -47,8 +47,8 @@ running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out ``` -Each Rust source file in `tests` directory is compiled as a separate crate. One -way of sharing some code between integration tests is making module with public +Each Rust source file in the `tests` directory is compiled as a separate crate. One +way of sharing some code between integration tests is making a module with public functions, importing and using it within tests. File `tests/common.rs`: