diff options
author | Rob Pike <r@golang.org> | 2010-03-25 14:27:24 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2010-03-25 14:27:24 -0700 |
commit | 01ba1bd9510d1944681a122253685776ef40b7de (patch) | |
tree | 5a97691e3aee8dfe4433cec90addc3efcfb5d948 /test/bugs | |
parent | 039da1a7bf464109c5907aae5e4616e11493ef12 (diff) | |
download | go-01ba1bd9510d1944681a122253685776ef40b7de.tar.gz |
bug264 didn't report BUG correctly, caused "fail" from test/run
R=rsc, gri
CC=golang-dev
http://codereview.appspot.com/762041
Diffstat (limited to 'test/bugs')
-rw-r--r-- | test/bugs/bug264.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/bugs/bug264.go b/test/bugs/bug264.go index 110f42e20..e0b288d94 100644 --- a/test/bugs/bug264.go +++ b/test/bugs/bug264.go @@ -1,4 +1,4 @@ -// $G $D/$F.go && $L $F.$A && ./$A.out +// $G $D/$F.go && $L $F.$A && ./$A.out || echo BUG // Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style @@ -38,12 +38,12 @@ var _, _ = bal() // bal is called twice func main() { if fooCount != 1 { - panic("BUG: fooCount != 1") + panic("fooCount != 1") } if barCount != 1 { - panic("BUG: barCount != 1") + panic("barCount != 1") } if balCount != 1 { - panic("BUG: balCount != 1") + panic("balCount != 1") } } |