diff options
Diffstat (limited to 'libgo/go/big/rat_test.go')
-rw-r--r-- | libgo/go/big/rat_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/big/rat_test.go b/libgo/go/big/rat_test.go index a95e5fe..2443450 100644 --- a/libgo/go/big/rat_test.go +++ b/libgo/go/big/rat_test.go @@ -112,7 +112,7 @@ func TestRatScan(t *testing.T) { _, err := fmt.Fscanf(&buf, "%v", x) if err == nil != test.ok { if test.ok { - t.Errorf("#%d error: %s", i, err.String()) + t.Errorf("#%d error: %s", i, err) } else { t.Errorf("#%d expected error", i) } |