diff --git a/test/syntax/semi6.go b/test/syntax/semi6.go index 4a04f89ddb..9bc730d43d 100644 --- a/test/syntax/semi6.go +++ b/test/syntax/semi6.go @@ -6,6 +6,6 @@ package main -type T1 // ERROR "unexpected newline in type declaration" +type T1 // ERROR "newline in type declaration" -type T2 /* // ERROR "unexpected EOF in type declaration" */ \ No newline at end of file +type T2 /* // ERROR "(semicolon.*|EOF) in type declaration" */ \ No newline at end of file