Lines Matching refs:test
92 for _, test := range splitNTestCases {
93 got := test.in.SplitN(test.sep, test.n)
95 expectedString := dumpArray(test.expected)
121 for _, test := range valueTestCases {
122 got := test.in.Value(nil)
123 if got != test.expected {
124 t.Errorf("\nwith: %q\nwant: %q\n got: %q", test.in.Dump(), test.expected, got)
164 for _, test := range splitWordsTestCases {
165 got := test.in.Words()
167 expectedString := dumpArray(test.expected)
169 t.Errorf("with:\n%q\nexpected:\n%s\ngot:\n%s", test.in.Dump(), expectedString, gotString)