summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug330.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug330.go')
-rw-r--r--test/fixedbugs/bug330.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/bug330.go b/test/fixedbugs/bug330.go
index cf1d6cc2d..114492aff 100644
--- a/test/fixedbugs/bug330.go
+++ b/test/fixedbugs/bug330.go
@@ -8,6 +8,6 @@ package main
func main() {
x := ""
- x = +"hello" // ERROR "invalid operation.*string"
- x = +x // ERROR "invalid operation.*string"
+ x = +"hello" // ERROR "invalid operation.*string|expected numeric"
+ x = +x // ERROR "invalid operation.*string|expected numeric"
}