diff --git a/test/cmplxdivide.go b/test/cmplxdivide.go index 49cd5bf5824..4b8d549fc4d 100644 --- a/test/cmplxdivide.go +++ b/test/cmplxdivide.go @@ -35,7 +35,7 @@ func main() { fmt.Printf("BUG\n") bad = true } - fmt.Printf("%v/%v: expected %v error; got %v\n", t.f, t.g, t.out, x) + fmt.Printf("%v/%v: got %v, want %v\n", t.f, t.g, x, t.out) } } if bad { diff --git a/test/map.go b/test/map.go index 2c1cf8a1403..b72fe59bd74 100644 --- a/test/map.go +++ b/test/map.go @@ -431,7 +431,7 @@ func testbasic() { { _, b := mpTi[apT[i]] if b { - panic(fmt.Sprintf("tuple nonexistence decl: mpTi[apt[%d]]", i)) + panic(fmt.Sprintf("tuple nonexistence decl: mpTi[apT[%d]]", i)) } _, b = mpTi[apT[i]] if b {