Skip to content

Commit 7b5d502

Browse files
committed
Fix number of listing in chapter 11.3
1 parent 328b2f9 commit 7b5d502

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/ch11-03-test-organization.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -511,13 +511,10 @@ fn it_adds_two() {
511511
```
512512

513513
<!--
514-
Note that the `mod common;` declaration is the same as the module declarations
515-
we demonstrated in Listing 7-4. Then in the test function, we can call the
516-
`common::setup()` function.
514+
Note that the mod common; declaration is the same as the module declaration we demonstrated in Listing 7-21. Then in the test function, we can call the common::setup() function.
517515
-->
518516

519-
`mod common;`という宣言は、リスト7-4で模擬したモジュール宣言と同じであることに注意してください。
520-
それから、テスト関数内で`common::setup()`関数を呼び出すことができます。
517+
`mod common;`という宣言は、リスト7-21で模擬したモジュール宣言と同じであることに注意してください。それから、テスト関数内で`common::setup()`関数を呼び出すことができます。
521518

522519
<!--
523520
#### Integration Tests for Binary Crates

0 commit comments

Comments
 (0)