File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -123,12 +123,12 @@ function we wish we had</span>
123
123
<span class =" caption " >リスト12-15: こうだったらいいなという` search ` 関数の失敗するテストを作成する</span >
124
124
125
125
<!--
126
- This test searches for the string `“duct.”` The text we’re searching is three
127
- lines, only one of which contains `“duct.”` We assert that the value returned
126
+ This test searches for the string `“duct”`. The text we’re searching is three
127
+ lines, only one of which contains `“duct”`. We assert that the value returned
128
128
from the `search` function contains only the line we expect.
129
129
-->
130
130
131
- このテストは、` "duct. " ` という文字列を検索します。検索対象の文字列は3行で、うち1行だけが` "duct. " ` を含みます。
131
+ このテストは、` "duct" ` という文字列を検索します。検索対象の文字列は3行で、うち1行だけが` "duct" ` を含みます。
132
132
` search ` 関数から返る値が想定している行だけを含むことをアサーションします。
133
133
134
134
<!--
You can’t perform that action at this time.
0 commit comments