/prebuilts/go/darwin-x86/src/cmd/internal/src/ |
xpos_test.go | 25 for _, want := range []Pos{ 34 xpos := tab.XPos(want) 36 if got != want { 37 t.Errorf("got %v; want %v", got, want) 47 t.Errorf("got table length %d; want %d", len(tab.baseList), wantLen) 51 t.Errorf("XPos(NoPos): got %v; want %v", got, NoXPos) 62 t.Errorf("alignment = %v; want 4", unsafe.Alignof(p)) 65 t.Errorf("size = %v; want 8", unsafe.Sizeof(p))
|
/prebuilts/go/darwin-x86/src/image/color/ |
color_test.go | 39 if got, want := sqDiff(x, y), orig(x, y); got != want { 40 t.Fatalf("sqDiff(%#x, %#x): got %d, want %d", x, y, got, want)
|
/prebuilts/go/darwin-x86/src/net/http/httptest/ |
httptest_test.go | 23 want *http.Request 31 want: &http.Request{ 50 want: &http.Request{ 74 want: &http.Request{ 102 want: &http.Request{ 122 want: &http.Request{ 141 want: &http.Request{ 161 t.Errorf("%d. Body = %q; want %q", i, slurp, tt.wantBody) 164 if !reflect.DeepEqual(got.URL, tt.want.URL) { 165 t.Errorf("%d. Request.URL mismatch:\n got: %#v\nwant: %#v", i, got.URL, tt.want.URL [all...] |
/prebuilts/go/darwin-x86/src/net/http/ |
transport_internal_test.go | 52 t.Errorf("roundTrip = %#v, %v; want errServerClosedIdle or transportReadFromServerError", err, err) 58 t.Errorf("pc.closed = %#v, %v; want errServerClosedIdle or transportReadFromServerError", err, err) 111 want bool 117 want: false, 123 want: true, 129 want: true, 135 want: true, 141 want: false, 147 want: false, 153 want: true [all...] |
/prebuilts/go/darwin-x86/src/os/ |
error_unix_test.go | 26 isPermissionTest{err: &os.PathError{Err: syscall.EACCES}, want: true}, 27 isPermissionTest{err: &os.PathError{Err: syscall.EPERM}, want: true}, 28 isPermissionTest{err: &os.PathError{Err: syscall.EEXIST}, want: false}, 30 isPermissionTest{err: &os.LinkError{Err: syscall.EACCES}, want: true}, 31 isPermissionTest{err: &os.LinkError{Err: syscall.EPERM}, want: true}, 32 isPermissionTest{err: &os.LinkError{Err: syscall.EEXIST}, want: false}, 34 isPermissionTest{err: &os.SyscallError{Err: syscall.EACCES}, want: true}, 35 isPermissionTest{err: &os.SyscallError{Err: syscall.EPERM}, want: true}, 36 isPermissionTest{err: &os.SyscallError{Err: syscall.EEXIST}, want: false},
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug321.go | 13 func check(test string, got, want float64) bool { 14 if got != want { 15 fmt.Println(test, "got", got, "want", want)
|
issue14553.go | 40 want := t.bits 41 if got != want { 42 panic(fmt.Sprintf("bits(%g) = 0x%08x; want 0x%08x", t.value, got, want))
|
issue19911.go | 29 func check(want, gotfull string) { 31 if got != want { 32 panic("want " + want + " got " + got + " from " + gotfull)
|
/prebuilts/go/darwin-x86/test/fixedbugs/issue11053.dir/ |
p_test.go | 48 if got, want := *resp.V, int32(42); got != want { 49 fmt.Printf("FAIL, got %v, want %v", got, want)
|
/prebuilts/go/linux-x86/misc/cgo/test/ |
cthread.go | 40 want := 10 * (10 - 1) / 2 * 6 41 if sum.i != want { 42 t.Fatalf("sum=%d, want %d", sum.i, want)
|
issue12030.go | 6 // Normally we want the one in the msvcrt. 31 if want := fmt.Sprintf("d=%g", f); got != want { 32 t.Fatalf("C.sprintf failed for %g: %q != %q", f, got, want)
|
/prebuilts/go/linux-x86/misc/cgo/test/issue9026/ |
issue9026.go | 32 want := "issue9026._Ctype_struct___0 *issue9026._Ctype_struct___1" 33 if got != want { 34 t.Errorf("Non-deterministic type names: got %s, want %s", got, want)
|
/prebuilts/go/linux-x86/src/cmd/compile/internal/syntax/ |
printer_test.go | 27 for _, want := range []string{ 32 ast, err := ParseBytes(nil, []byte(want), nil, nil, nil, 0) 37 if got := String(ast); got != want { 38 t.Errorf("%q: got %q", want, got)
|
/prebuilts/go/linux-x86/src/cmd/internal/src/ |
xpos_test.go | 25 for _, want := range []Pos{ 34 xpos := tab.XPos(want) 36 if got != want { 37 t.Errorf("got %v; want %v", got, want) 47 t.Errorf("got table length %d; want %d", len(tab.baseList), wantLen) 51 t.Errorf("XPos(NoPos): got %v; want %v", got, NoXPos) 62 t.Errorf("alignment = %v; want 4", unsafe.Alignof(p)) 65 t.Errorf("size = %v; want 8", unsafe.Sizeof(p))
|
/prebuilts/go/linux-x86/src/image/color/ |
color_test.go | 39 if got, want := sqDiff(x, y), orig(x, y); got != want { 40 t.Fatalf("sqDiff(%#x, %#x): got %d, want %d", x, y, got, want)
|
/prebuilts/go/linux-x86/src/net/http/httptest/ |
httptest_test.go | 23 want *http.Request 31 want: &http.Request{ 50 want: &http.Request{ 74 want: &http.Request{ 102 want: &http.Request{ 122 want: &http.Request{ 141 want: &http.Request{ 161 t.Errorf("%d. Body = %q; want %q", i, slurp, tt.wantBody) 164 if !reflect.DeepEqual(got.URL, tt.want.URL) { 165 t.Errorf("%d. Request.URL mismatch:\n got: %#v\nwant: %#v", i, got.URL, tt.want.URL [all...] |
/prebuilts/go/linux-x86/src/net/http/ |
transport_internal_test.go | 52 t.Errorf("roundTrip = %#v, %v; want errServerClosedIdle or transportReadFromServerError", err, err) 58 t.Errorf("pc.closed = %#v, %v; want errServerClosedIdle or transportReadFromServerError", err, err) 111 want bool 117 want: false, 123 want: true, 129 want: true, 135 want: true, 141 want: false, 147 want: false, 153 want: true [all...] |
/prebuilts/go/linux-x86/src/os/ |
error_unix_test.go | 26 isPermissionTest{err: &os.PathError{Err: syscall.EACCES}, want: true}, 27 isPermissionTest{err: &os.PathError{Err: syscall.EPERM}, want: true}, 28 isPermissionTest{err: &os.PathError{Err: syscall.EEXIST}, want: false}, 30 isPermissionTest{err: &os.LinkError{Err: syscall.EACCES}, want: true}, 31 isPermissionTest{err: &os.LinkError{Err: syscall.EPERM}, want: true}, 32 isPermissionTest{err: &os.LinkError{Err: syscall.EEXIST}, want: false}, 34 isPermissionTest{err: &os.SyscallError{Err: syscall.EACCES}, want: true}, 35 isPermissionTest{err: &os.SyscallError{Err: syscall.EPERM}, want: true}, 36 isPermissionTest{err: &os.SyscallError{Err: syscall.EEXIST}, want: false},
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug321.go | 13 func check(test string, got, want float64) bool { 14 if got != want { 15 fmt.Println(test, "got", got, "want", want)
|
issue14553.go | 40 want := t.bits 41 if got != want { 42 panic(fmt.Sprintf("bits(%g) = 0x%08x; want 0x%08x", t.value, got, want))
|
issue19911.go | 29 func check(want, gotfull string) { 31 if got != want { 32 panic("want " + want + " got " + got + " from " + gotfull)
|
/prebuilts/go/linux-x86/test/fixedbugs/issue11053.dir/ |
p_test.go | 48 if got, want := *resp.V, int32(42); got != want { 49 fmt.Printf("FAIL, got %v, want %v", got, want)
|
/prebuilts/go/darwin-x86/src/net/textproto/ |
reader_test.go | 46 t.Errorf("CanonicalMIMEHeaderKey(%q) = %q, want %q", tt.in, s, tt.out) 117 want := []string{"dotlines", "foo", ".bar", "..baz", "quux", ""} 118 if !reflect.DeepEqual(s, want) || err != nil { 123 want = []string{"another"} 124 if !reflect.DeepEqual(s, want) || err != io.ErrUnexpectedEOF { 132 want := []byte("dotlines\nfoo\n.bar\n..baz\nquux\n\n") 133 if !reflect.DeepEqual(b, want) || err != nil { 138 want = []byte("anot.her\n") 139 if !reflect.DeepEqual(b, want) || err != io.ErrUnexpectedEOF { 147 want := MIMEHeader [all...] |
/prebuilts/go/linux-x86/src/net/textproto/ |
reader_test.go | 46 t.Errorf("CanonicalMIMEHeaderKey(%q) = %q, want %q", tt.in, s, tt.out) 117 want := []string{"dotlines", "foo", ".bar", "..baz", "quux", ""} 118 if !reflect.DeepEqual(s, want) || err != nil { 123 want = []string{"another"} 124 if !reflect.DeepEqual(s, want) || err != io.ErrUnexpectedEOF { 132 want := []byte("dotlines\nfoo\n.bar\n..baz\nquux\n\n") 133 if !reflect.DeepEqual(b, want) || err != nil { 138 want = []byte("anot.her\n") 139 if !reflect.DeepEqual(b, want) || err != io.ErrUnexpectedEOF { 147 want := MIMEHeader [all...] |
/prebuilts/go/darwin-x86/src/math/big/ |
float_test.go | 39 t.Errorf("zero value = %s; want 0.0", s) 44 t.Errorf("prec = %d; want 0", prec) 57 z, x, y, want int 87 if got != test.want { 88 t.Errorf("%d %c %d = %d; want %d", test.x, test.opname, test.y, got, test.want) 107 want string 136 t.Errorf("%s.SetPrec(%d).Prec() == %d; want %d", test.x, test.prec, got, prec) 138 if got, acc := x.String(), x.Acc(); got != test.want || acc != test.acc { 139 t.Errorf("%s.SetPrec(%d) = %s (%s); want %s (%s)", test.x, test.prec, got, acc, test.want, test.acc [all...] |