diff --git a/go/types/stdlib_test.go b/go/types/stdlib_test.go index 02d00dfa77..d6aa82ac53 100644 --- a/go/types/stdlib_test.go +++ b/go/types/stdlib_test.go @@ -122,7 +122,7 @@ func TestStdTest(t *testing.T) { // test/recover4.go is only built for Linux and Darwin. // TODO(gri) Remove once tests consider +build tags (issue 10370). - if runtime.GOOS != "linux" || runtime.GOOS != "darwin" { + if runtime.GOOS != "linux" && runtime.GOOS != "darwin" { return }