mirror of
https://github.com/golang/go
synced 2025-02-19 03:19:07 +00:00
test: recognize new gofrontend error message
The new gofrontend message matches other gofrontend error messages, so adjust the test to accept it. For #27938 For #51237 Change-Id: I29b536f83a0cf22b1dbdae9abc2f5f6cf21d522d Reviewed-on: https://go-review.googlesource.com/c/go/+/416014 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com>
This commit is contained in:
committed by
Ian Lance Taylor
parent
d602380f58
commit
2007599dc8
@ -11,13 +11,13 @@
|
||||
package p
|
||||
|
||||
type _ struct {
|
||||
F sync.Mutex // ERROR "undefined: sync|expected package"
|
||||
F sync.Mutex // ERROR "undefined: sync|expected package|reference to undefined name"
|
||||
}
|
||||
|
||||
type _ struct {
|
||||
sync.Mutex // ERROR "undefined: sync|expected package"
|
||||
sync.Mutex // ERROR "undefined: sync|expected package|reference to undefined name"
|
||||
}
|
||||
|
||||
type _ interface {
|
||||
sync.Mutex // ERROR "undefined: sync|expected package|expected signature or type name"
|
||||
sync.Mutex // ERROR "undefined: sync|expected package|expected signature or type name|reference to undefined name"
|
||||
}
|
||||
|
Reference in New Issue
Block a user