From: Robert Griesemer Date: Mon, 16 Nov 2015 23:34:41 +0000 (-0800) Subject: test: fix test case X-Git-Tag: go1.6beta1~426 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=fbe855ba29229ad92c911898044409eb6784a079;p=gostls13.git test: fix test case Issue introduced by https://go-review.googlesource.com/#/c/16920/ . TBR=rsc Change-Id: I2a0e0c81f641f869568230837c566913f6538f37 Reviewed-on: https://go-review.googlesource.com/16990 Run-TryBot: Robert Griesemer TryBot-Result: Gobot Gobot Reviewed-by: Robert Griesemer --- diff --git a/test/fixedbugs/issue11590.go b/test/fixedbugs/issue11590.go index 9776704b2a..1acac64c73 100644 --- a/test/fixedbugs/issue11590.go +++ b/test/fixedbugs/issue11590.go @@ -6,6 +6,6 @@ package p -var _ = int8(4) * 300 // ERROR "constant overflows int8" -var _ = complex64(1) * 1e200 // ERROR "constant overflows complex64" -var _ = complex128(1) * 1e500 // ERROR "constant overflows complex128" +var _ = int8(4) * 300 // ERROR "constant 300 overflows int8" "constant 1200 overflows int8" +var _ = complex64(1) * 1e200 // ERROR "constant 1e\+200 overflows complex64" +var _ = complex128(1) * 1e500 // ERROR "constant 1\.00000e\+500 overflows complex128"