diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/fixedbugs/issue11361.go | 2 | ||||
-rw-r--r-- | test/fixedbugs/issue21317.go | 4 | ||||
-rw-r--r-- | test/fixedbugs/issue28268.go | 4 | ||||
-rw-r--r-- | test/fixedbugs/issue34329.go | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/test/fixedbugs/issue11361.go b/test/fixedbugs/issue11361.go index 1ef8735a52..84e71c73e6 100644 --- a/test/fixedbugs/issue11361.go +++ b/test/fixedbugs/issue11361.go @@ -8,4 +8,4 @@ package a import "fmt" // GC_ERROR "imported and not used" -const n = fmt // ERROR "fmt without selector|unexpected reference to package|use of package fmt not in selector" +const n = fmt // ERROR "fmt without selector|unexpected reference to package|use of package `fmt' not in selector" diff --git a/test/fixedbugs/issue21317.go b/test/fixedbugs/issue21317.go index cebfc0f52d..d525f12a58 100644 --- a/test/fixedbugs/issue21317.go +++ b/test/fixedbugs/issue21317.go @@ -45,8 +45,8 @@ func main() { log.Fatalf("expected cmd/compile to fail") } wantErrs := []string{ - "7:9: n declared and not used", - "7:12: err declared and not used", + "7:9: `n' declared and not used", + "7:12: `err' declared and not used", } outStr := string(out) for _, want := range wantErrs { diff --git a/test/fixedbugs/issue28268.go b/test/fixedbugs/issue28268.go index 263b2d1b42..b04e42555f 100644 --- a/test/fixedbugs/issue28268.go +++ b/test/fixedbugs/issue28268.go @@ -16,8 +16,8 @@ type T struct { type E struct{} -func (T) b() {} // ERROR "field and method named b|redeclares struct field name|field and method with the same name b" -func (*T) E() {} // ERROR "field and method named E|redeclares struct field name|field and method with the same name E" +func (T) b() {} // ERROR "field and method named b|redeclares struct field name|field and method with the same name `b'" +func (*T) E() {} // ERROR "field and method named E|redeclares struct field name|field and method with the same name `E'" func _() { var x T diff --git a/test/fixedbugs/issue34329.go b/test/fixedbugs/issue34329.go index 790686e3dd..585770d87a 100644 --- a/test/fixedbugs/issue34329.go +++ b/test/fixedbugs/issue34329.go @@ -10,5 +10,5 @@ type I interface { M() } type _ interface { I - I // ERROR "duplicate method M" + I // ERROR "duplicate method `M'" } |