summaryrefslogtreecommitdiff
path: root/libgo/go/gob/codec_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/gob/codec_test.go')
-rw-r--r--libgo/go/gob/codec_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/gob/codec_test.go b/libgo/go/gob/codec_test.go
index 2bcbf82a309..5306354bf2a 100644
--- a/libgo/go/gob/codec_test.go
+++ b/libgo/go/gob/codec_test.go
@@ -41,7 +41,7 @@ var encodeT = []EncodeT{
// plain test.Error call.
func testError(t *testing.T) {
if e := recover(); e != nil {
- t.Error(e.(gobError).Error) // Will re-panic if not one of our errors, such as a runtime error.
+ t.Error(e.(gobError).err) // Will re-panic if not one of our errors, such as a runtime error.
}
return
}