diff options
Diffstat (limited to 'test/named1.go')
-rw-r--r-- | test/named1.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/named1.go b/test/named1.go index fe71df844..64e492886 100644 --- a/test/named1.go +++ b/test/named1.go @@ -54,8 +54,8 @@ func main() { _, bb := <-c asBool(bb) // ERROR "cannot use.*type bool.*as type Bool" - _, b = <-c // ERROR "cannot .* bool.*type Bool" + _, b = <-c // ERROR "cannot .* bool.*type Bool" _ = b - asString(String(slice)) // ERROR "cannot .*type Slice.*type String" + asString(String(slice)) // ok } |