]> Cypherpunks repositories - gostls13.git/commitdiff
test: match gofrontend error messages
authorIan Lance Taylor <iant@golang.org>
Tue, 15 Dec 2020 06:27:32 +0000 (22:27 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 15 Dec 2020 21:01:37 +0000 (21:01 +0000)
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 <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
test/fixedbugs/issue11614.go

index d1642a3faf0d9ccbc5acdc8f63264a35091b1246..de15f9827ffb28d1c18166c762349d0834de0422 100644 (file)
@@ -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() {