diff options
Diffstat (limited to 'test/ddd1.go')
-rw-r--r-- | test/ddd1.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ddd1.go b/test/ddd1.go index 83e32de7b..6d84248e5 100644 --- a/test/ddd1.go +++ b/test/ddd1.go @@ -15,8 +15,8 @@ var ( _ = sum() _ = sum(1.0, 2.0) _ = sum(1.5) // ERROR "integer" - _ = sum("hello") // ERROR "string.*as type int|incompatible" - _ = sum([]int{1}) // ERROR "slice literal.*as type int|incompatible" + _ = sum("hello") // ERROR ".hello. .type string. as type int|incompatible" + _ = sum([]int{1}) // ERROR "\[\]int literal.*as type int|incompatible" ) type T []T |