diff --git a/go/types/self_test.go b/go/types/self_test.go index 2a6bc797..3e0ea49e 100644 --- a/go/types/self_test.go +++ b/go/types/self_test.go @@ -28,7 +28,7 @@ func TestSelf(t *testing.T) { } _, err := Check("go/types", fset, files) - if err == nil { + if err != nil { // Importing go.tools/go/exact doensn't work in the // build dashboard environment at the moment. Don't // report an error for now so that the build remains