From 407e159412e524ff0356a3c24b90868f90fdad0f Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Wed, 24 Jul 2013 09:26:39 -0700 Subject: [PATCH] go.tools/go/types: fix typo in self test R=adonovan CC=golang-dev https://golang.org/cl/11749044 --- go/types/self_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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