From c4c86dd04ccf6e9a6ac9282ecb9bb42e13ea5dad Mon Sep 17 00:00:00 2001 From: Raphael Das Gupta Date: Tue, 24 Jan 2017 22:44:41 +0100 Subject: [PATCH] fix book: refer to `add_two` as "tested function" rather than "test function", which would be `it_works` --- src/doc/book/testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/book/testing.md b/src/doc/book/testing.md index 96cec7295aa9d..940367b397100 100644 --- a/src/doc/book/testing.md +++ b/src/doc/book/testing.md @@ -384,7 +384,7 @@ currently trying to run the tests. This can save compile time, and also ensures that our tests are entirely left out of a normal build. The second change is the `use` declaration. Because we're in an inner module, -we need to bring our test function into scope. This can be annoying if you have +we need to bring the tested function into scope. This can be annoying if you have a large module, and so this is a common use of globs. Let's change our `src/lib.rs` to make use of it: