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
commit6865cc0e8e6964b9313c8966b45a40caea1ac870 (patch)
tree8140fb15a79d9a0a0833d5c22e95b7f88fb15769 /test/ddd1.go
parent46137557c48fa44d558de0e95c5c2f7d368e9190 (diff)
downloadgo-git-6865cc0e8e6964b9313c8966b45a40caea1ac870.tar.gz
gc: avoid saying same error 3 times
R=ken2 CC=golang-dev https://golang.org/cl/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 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"
)