summaryrefslogtreecommitdiff
path: root/test/ddd1.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-04-01 20:52:38 -0400
committerRuss Cox <rsc@golang.org>2011-04-01 20:52:38 -0400
commitc3cb371685c21fab2cc0bbe677c3c6b81f93a71f (patch)
treef0d00388dd09f1a5781189e342648df447a62fb5 /test/ddd1.go
parenta2b319304bf3f1896c9184591fd722b69d5ba085 (diff)
downloadgo-c3cb371685c21fab2cc0bbe677c3c6b81f93a71f.tar.gz
gc: avoid saying same error 3 times
R=ken2 CC=golang-dev http://codereview.appspot.com/4316051
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 ff6342843..a0bc73814 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"
)