diff options
Diffstat (limited to 'test/interface')
| -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 1b7af6712b..f769f5878c 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|only valid for interface types|not an interface type" + _ = f.(int) // ERROR "non-interface type|only valid for interface types|not an interface" } |
