diff --git a/test/named1.go b/test/named1.go index 241697d5c0e..600e502f9e8 100644 --- a/test/named1.go +++ b/test/named1.go @@ -64,5 +64,5 @@ func main() { b = closed(c) // ERROR "cannot use.*type bool.*type Bool" _ = b - asString(String(slice)) // ERROR "cannot convert slice" + asString(String(slice)) // ERROR "cannot .*type Slice.*type String" }