diff options
Diffstat (limited to 'test/ddd1.go')
-rw-r--r-- | test/ddd1.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ddd1.go b/test/ddd1.go index fcd32c282..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" ) @@ -35,7 +35,6 @@ func bad(args ...int) { ch := make(chan int) close(ch...) // ERROR "[.][.][.]" _ = len(args...) // ERROR "[.][.][.]" - _ = closed(ch...) // ERROR "[.][.][.]" _ = new(int...) // ERROR "[.][.][.]" n := 10 _ = make([]byte, n...) // ERROR "[.][.][.]" |