diff options
Diffstat (limited to 'src/lib/strconv/testftoa.go')
-rw-r--r-- | src/lib/strconv/testftoa.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/strconv/testftoa.go b/src/lib/strconv/testftoa.go index c452eb2b7..a85a1a116 100644 --- a/src/lib/strconv/testftoa.go +++ b/src/lib/strconv/testftoa.go @@ -98,12 +98,12 @@ export func TestFtoa(t *testing.T) { test := &ftests[i]; s := strconv.ftoa64(test.f, test.fmt, test.prec); if s != test.s { - t.Errorf("test", test.f, string(test.fmt), test.prec, "want", test.s, "got", s); + t.Error("test", test.f, string(test.fmt), test.prec, "want", test.s, "got", s); } if float64(float32(test.f)) == test.f && test.fmt != 'b' { s := strconv.ftoa32(float32(test.f), test.fmt, test.prec); if s != test.s { - t.Errorf("test32", test.f, string(test.fmt), test.prec, "want", test.s, "got", s); + t.Error("test32", test.f, string(test.fmt), test.prec, "want", test.s, "got", s); } } } |