diff options
Diffstat (limited to 'test/init.go')
-rw-r--r-- | test/init.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/init.go b/test/init.go index 1855b4ff56..f4689443cf 100644 --- a/test/init.go +++ b/test/init.go @@ -15,7 +15,7 @@ func init() { } func main() { - init() // ERROR "cannot refer to init functions" + init() // ERROR "undefined.*init" runtime.init() // ERROR "unexported.*runtime\.init" - var _ = init // ERROR "cannot refer to init functions" + var _ = init // ERROR "undefined.*init" } |