aboutsummaryrefslogtreecommitdiff
path: root/test/fixedbugs/issue38745.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/issue38745.go')
-rw-r--r--test/fixedbugs/issue38745.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/fixedbugs/issue38745.go b/test/fixedbugs/issue38745.go
index 83a3bc6fad..7d4283b845 100644
--- a/test/fixedbugs/issue38745.go
+++ b/test/fixedbugs/issue38745.go
@@ -9,10 +9,10 @@ package p
type t struct{ x int }
func f1() {
- t{}.M() // ERROR "t{}.M undefined \(type t has no field or method M\)"
- t{x: 1}.M() // ERROR "t{...}.M undefined \(type t has no field or method M\)"
+ t{}.M() // ERROR "t{}.M undefined \(type t has no field or method M\)|undefined field or method .*M"
+ t{x: 1}.M() // ERROR "t{...}.M undefined \(type t has no field or method M\)|undefined field or method .*M"
}
func f2() (*t, error) {
- return t{}.M() // ERROR "t{}.M undefined \(type t has no field or method M\)"
+ return t{}.M() // ERROR "t{}.M undefined \(type t has no field or method M\)|undefined field or method .*M|not enough arguments"
}