From: Alan Donovan Date: Tue, 16 Jul 2013 16:18:00 +0000 (-0400) Subject: test: invert incorrect condition. X-Git-Tag: go1.2rc2~1036 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8fb6c3ac25f077f5207215dc4868014a29e61759;p=gostls13.git test: invert incorrect condition. R=gri CC=golang-dev https://golang.org/cl/11359043 --- diff --git a/test/cmp.go b/test/cmp.go index 7183f02079..73de502f39 100644 --- a/test/cmp.go +++ b/test/cmp.go @@ -43,8 +43,8 @@ func main() { var d string = "hel" // try to get different pointer d = d + "lo" - // exp/ssa/interp can't handle unsafe.Pointer. - if os.Getenv("GOSSAINTERP") != "" { + // go.tools/ssa/interp can't handle unsafe.Pointer. + if os.Getenv("GOSSAINTERP") == "" { if stringptr(c) == stringptr(d) { panic("compiler too smart -- got same string") }