Lines Matching refs:want
236 want := append([]string(nil), test.dirs...)
237 for i := range want {
238 want[i] = filepath.Join(dir, want[i])
240 if !reflect.DeepEqual(got, want) {
241 t.Errorf("want: %v, got %v", want, got)
282 want := append([]string(nil), test.dirs...)
283 for i := range want {
284 want[i] = filepath.Join(dir, want[i])
286 if !reflect.DeepEqual(got, want) {
287 t.Errorf("want: %v, got %v", want, got)
552 func checkErr(t *testing.T, want, got error) { argument
554 if (got != nil) != (want != nil) {
555 t.Fatalf("want: %v, got %v", want, got)
558 if os.IsNotExist(got) == os.IsNotExist(want) {
562 if syscallError(got) == syscallError(want) {
566 t.Fatalf("want: %v, got %v", want, got)