]> git.lizzy.rs Git - rust.git/commitdiff
fix book: refer to `add_two` as "tested function"
authorRaphael Das Gupta <raphael.das.gupta@hsr.ch>
Tue, 24 Jan 2017 21:44:41 +0000 (22:44 +0100)
committerGitHub <noreply@github.com>
Tue, 24 Jan 2017 21:44:41 +0000 (22:44 +0100)
rather than "test function", which would be `it_works`

src/doc/book/testing.md

index 96cec7295aa9d11abfcd6d4598543137194da9ed..940367b39710030e80f7cdfb0275d7219994e855 100644 (file)
@@ -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: