diff options
author | Alan Donovan <adonovan@google.com> | 2013-07-16 12:18:00 -0400 |
---|---|---|
committer | Alan Donovan <adonovan@google.com> | 2013-07-16 12:18:00 -0400 |
commit | 76ac7db9b36a0ffbc96ea8c4b53a2c9689f74cb1 (patch) | |
tree | 797ece34aae1a300c153d9a3397f9bc97b373c29 /test | |
parent | 70bd997b6667cfac0d97c351823eb148a89fc430 (diff) | |
download | go-76ac7db9b36a0ffbc96ea8c4b53a2c9689f74cb1.tar.gz |
test: invert incorrect condition.
R=gri
CC=golang-dev
https://codereview.appspot.com/11359043
Diffstat (limited to 'test')
-rw-r--r-- | test/cmp.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cmp.go b/test/cmp.go index 7183f0207..73de502f3 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") } |