From: Ian Lance Taylor Date: Tue, 15 Dec 2020 06:27:32 +0000 (-0800) Subject: test: match gofrontend error messages X-Git-Tag: go1.16beta1~11 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=685a322fe404d725e6bfb2766388c4b95ed84603;p=gostls13.git test: match gofrontend error messages fixedbugs/issue11614.go:14:9: error: interface contains embedded non-interface fixedbugs/issue11614.go:22:20: error: interface contains embedded non-interface Change-Id: Ie9875916697833f5fa28ab890218851a741120ac Reviewed-on: https://go-review.googlesource.com/c/go/+/278175 Trust: Ian Lance Taylor Run-TryBot: Ian Lance Taylor TryBot-Result: Go Bot Reviewed-by: Than McIntosh Reviewed-by: Cherry Zhang --- diff --git a/test/fixedbugs/issue11614.go b/test/fixedbugs/issue11614.go index d1642a3faf..de15f9827f 100644 --- a/test/fixedbugs/issue11614.go +++ b/test/fixedbugs/issue11614.go @@ -19,7 +19,7 @@ func n() { } func m() { - (interface{int}) // ERROR "interface contains embedded non-interface int" "type interface { int } is not an expression" + (interface{int}) // ERROR "interface contains embedded non-interface" "type interface { int } is not an expression" } func main() {