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>
123123<span class =" caption " >リスト12-15: こうだったらいいなという` search ` 関数の失敗するテストを作成する</span >
124124
125125<!--
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
128128from the `search` function contains only the line we expect.
129129-->
130130
131- このテストは、` "duct. " ` という文字列を検索します。検索対象の文字列は3行で、うち1行だけが` "duct. " ` を含みます。
131+ このテストは、` "duct" ` という文字列を検索します。検索対象の文字列は3行で、うち1行だけが` "duct" ` を含みます。
132132` search ` 関数から返る値が想定している行だけを含むことをアサーションします。
133133
134134<!--
You can’t perform that action at this time.
0 commit comments