diff options
author | Russ Cox <rsc@golang.org> | 2011-11-01 22:06:05 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2011-11-01 22:06:05 -0400 |
commit | 44526cdbe0c012c2a9bf6fc493aa8ad3411b884f (patch) | |
tree | 25afb6c71d7243d18ecd3f74ec6a77fd04fe1871 /test/recover3.go | |
parent | eb6929299b6da3d9bea1fa7f7cd319c2de9242bb (diff) | |
download | go-44526cdbe0c012c2a9bf6fc493aa8ad3411b884f.tar.gz go-44526cdbe0c012c2a9bf6fc493aa8ad3411b884f.zip |
non-pkg: gofix -r error -force=error
R=golang-dev, iant, r, r
CC=golang-dev
https://golang.org/cl/5307066
Diffstat (limited to 'test/recover3.go')
-rw-r--r-- | test/recover3.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/recover3.go b/test/recover3.go index 2aa1df616d..60ade9b61c 100644 --- a/test/recover3.go +++ b/test/recover3.go @@ -35,7 +35,7 @@ func check(name string, f func(), err string) { println(name, "panicked but not with runtime.Error") return } - s := runt.String() + s := runt.Error() if strings.Index(s, err) < 0 { bug() println(name, "panicked with", s, "not", err) |