diff options
Diffstat (limited to 'test/cmplxdivide.go')
-rw-r--r-- | test/cmplxdivide.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/cmplxdivide.go b/test/cmplxdivide.go index ac4730d64..6a67b175d 100644 --- a/test/cmplxdivide.go +++ b/test/cmplxdivide.go @@ -34,9 +34,14 @@ func calike(a, b complex128) bool { } func main() { + bad := false for _, t := range tests { x := t.f/t.g if !calike(x, t.out) { + if !bad { + fmt.Printf("BUG\n") + bad = true + } fmt.Printf("%v/%v: expected %v error; got %v\n", t.f, t.g, t.out, x) } } |