diff options
Diffstat (limited to 'test/interface/explicit.go')
| -rw-r--r-- | test/interface/explicit.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/interface/explicit.go b/test/interface/explicit.go index 1fb3b6a05a..3f9451e8d2 100644 --- a/test/interface/explicit.go +++ b/test/interface/explicit.go @@ -57,7 +57,7 @@ func main() { // cannot type-assert non-interfaces f := 2.0 - _ = f.(int) // ERROR "non-interface type" + _ = f.(int) // ERROR "non-interface type|only valid for interface types" } |
