Commit 4ab5149
authored
Fix a mismatch between en and ja.
This commit changes the query string `"duct."` to `"duct"`.
Currently, the Japanese book is as follows:
> <!--
> This test searches for the string `“duct.”` The text we’re searching is three
> lines, only one of which contains `“duct.”` We assert that the value returned
> from the `search` function contains only the line we expect.
> -->
>
> このテストは、"duct."という文字列を検索します。検索対象の文字列は3行で、うち1行だけが"duct."を含みます。 search関数から返る値が想定している行だけを含むことをアサーションします。
The content before translation is different from the corresponding version of the English book as follows:
https://github.com/rust-lang/book/blob/acc5ee25138531b030c6c4844de2b7066959021d/2018-edition/src/ch12-04-testing-the-librarys-functionality.md
> This test searches for the string "duct". The text we’re searching is three lines, only one of which contains "duct". We assert that the value returned from the search function contains only the line we expect.1 parent 328b2f9 commit 4ab5149
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
| 126 | + | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
0 commit comments