summaryrefslogtreecommitdiff
path: root/test/ddd1.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/ddd1.go')
-rw-r--r--test/ddd1.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ddd1.go b/test/ddd1.go
index ff6342843a..a0bc73814f 100644
--- a/test/ddd1.go
+++ b/test/ddd1.go
@@ -15,7 +15,7 @@ var (
_ = sum()
_ = sum(1.0, 2.0)
_ = sum(1.5) // ERROR "integer"
- _ = sum("hello") // ERROR "convert|incompatible"
+ _ = sum("hello") // ERROR "string.*as type int|incompatible"
_ = sum([]int{1}) // ERROR "slice literal.*as type int|incompatible"
)