diff --git a/test/fixedbugs/bug165.go b/test/fixedbugs/bug165.go index a4fe715c2cf..8ce67a46db5 100644 --- a/test/fixedbugs/bug165.go +++ b/test/fixedbugs/bug165.go @@ -11,5 +11,5 @@ type I interface { } type S struct { - m map[S] bool; // ERROR "map key type|complete" + m map[S] bool; // ERROR "map key type" } diff --git a/test/fixedbugs/bug188.go b/test/fixedbugs/bug188.go index cbd421bb792..3851cb672c9 100644 --- a/test/fixedbugs/bug188.go +++ b/test/fixedbugs/bug188.go @@ -10,5 +10,5 @@ import "sort" func main() { var x int; - sort(x); // ERROR "package.*selector" + sort(x); // ERROR "package" }