aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/syntax/testdata/issue47704.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/compile/internal/syntax/testdata/issue47704.go')
-rw-r--r--src/cmd/compile/internal/syntax/testdata/issue47704.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/compile/internal/syntax/testdata/issue47704.go b/src/cmd/compile/internal/syntax/testdata/issue47704.go
index 2f2e29b693..e4cdad148f 100644
--- a/src/cmd/compile/internal/syntax/testdata/issue47704.go
+++ b/src/cmd/compile/internal/syntax/testdata/issue47704.go
@@ -5,13 +5,13 @@
package p
func _() {
- _ = m[] // ERROR expecting operand
+ _ = m[] // ERROR expected operand
_ = m[x,]
_ = m[x /* ERROR unexpected a */ a b c d]
}
// test case from the issue
func f(m map[int]int) int {
- return m[0 // ERROR expecting comma, \: or \]
+ return m[0 // ERROR expected comma, \: or \]
]
}