diff --git a/test/fixedbugs/bug330.go b/test/fixedbugs/bug330.go index cf1d6cc2d73..114492aff80 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" }