Skip to content

Commit c4c86dd

Browse files
authored
fix book: refer to add_two as "tested function"
rather than "test function", which would be `it_works`
1 parent fe597dc commit c4c86dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/book/testing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ currently trying to run the tests. This can save compile time, and also ensures
384384
that our tests are entirely left out of a normal build.
385385

386386
The second change is the `use` declaration. Because we're in an inner module,
387-
we need to bring our test function into scope. This can be annoying if you have
387+
we need to bring the tested function into scope. This can be annoying if you have
388388
a large module, and so this is a common use of globs. Let's change our
389389
`src/lib.rs` to make use of it:
390390

0 commit comments

Comments
 (0)