aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/fixedbugs/issue20789.go2
-rw-r--r--test/fixedbugs/issue23664.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/fixedbugs/issue20789.go b/test/fixedbugs/issue20789.go
index 4e4eed42a7..cba1290957 100644
--- a/test/fixedbugs/issue20789.go
+++ b/test/fixedbugs/issue20789.go
@@ -10,4 +10,4 @@
// there yet, so put it here for now. See also #20800.)
package e
-func([<-chan<-[func u){go // ERROR "unexpected u" \ No newline at end of file
+func([<-chan<-[func u){go // ERROR "unexpected `u'" \ No newline at end of file
diff --git a/test/fixedbugs/issue23664.go b/test/fixedbugs/issue23664.go
index 715654be70..fe171c27d0 100644
--- a/test/fixedbugs/issue23664.go
+++ b/test/fixedbugs/issue23664.go
@@ -9,9 +9,9 @@
package p
func f() {
- if f() true { // ERROR "unexpected true, expected {"
+ if f() true { // ERROR "unexpected `true', expected {"
}
- switch f() true { // ERROR "unexpected true, expected {"
+ switch f() true { // ERROR "unexpected `true', expected {"
}
}