Lines Matching refs:expect
200 int expect; member
202 { .str = L"foo\n", .fmt = L"foo\nbar", .expect = -1 },
203 { .str = L"foo\n", .fmt = L"foo bar", .expect = -1 },
204 { .str = L"foo\n", .fmt = L"foo %d", .expect = -1 },
205 { .str = L"foo\n", .fmt = L"foo\n%d", .expect = -1 },
206 { .str = L"foon", .fmt = L"foonbar", .expect = -1 },
207 { .str = L"foon", .fmt = L"foon%d", .expect = -1 },
208 { .str = L"foo ", .fmt = L"foo bar", .expect = -1 },
209 { .str = L"foo ", .fmt = L"foo %d", .expect = -1 },
210 { .str = L"foo\t", .fmt = L"foo\tbar", .expect = -1 },
211 { .str = L"foo\t", .fmt = L"foo bar", .expect = -1 },
212 { .str = L"foo\t", .fmt = L"foo %d", .expect = -1 },
213 { .str = L"foo\t", .fmt = L"foo\t%d", .expect = -1 },
214 { .str = L"foo", .fmt = L"foo", .expect = 0 },
216 { .str = L"foon", .fmt = L"foo bar", .expect = 0 },
217 { .str = L"foon", .fmt = L"foo %d", .expect = 0 },
218 { .str = L"foo ", .fmt = L"fooxbar", .expect = 0 },
219 { .str = L"foo ", .fmt = L"foox%d", .expect = 0 },
220 { .str = L"foo bar", .fmt = L"foon", .expect = 0 },
222 { .str = L"foo bar", .fmt = L"foo bar", .expect = 0 },
223 { .str = L"foo bar", .fmt = L"foo %d", .expect = 0 },
225 { .str = L"foo bar", .fmt = L"foon%d", .expect = 0 },
227 { .str = L"foo (nil)", .fmt = L"foo %4p", .expect = 0},
228 { .str = L"foo ", .fmt = L"foo %n", .expect = 0 },
324 if (wtr != wtest[wt].expect) { in main()
326 wtest[wt].str, wtest[wt].fmt, wtest[wt].expect, wtr); in main()