diff options
Diffstat (limited to 'src/lib/strconv/fp_test.go')
-rw-r--r-- | src/lib/strconv/fp_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/strconv/fp_test.go b/src/lib/strconv/fp_test.go index 1b60d3f77..ef82d369f 100644 --- a/src/lib/strconv/fp_test.go +++ b/src/lib/strconv/fp_test.go @@ -131,14 +131,14 @@ export func TestFp(t *testing.T) { t.Error("testfp.txt:", lineno, ": cannot atof64 ", a[2]); continue; } - s = fmt.sprintf(a[1], v); + s = fmt.Sprintf(a[1], v); case "float32": v1, ok := myatof32(a[2]); if !ok { t.Error("testfp.txt:", lineno, ": cannot atof32 ", a[2]); continue; } - s = fmt.sprintf(a[1], v1); + s = fmt.Sprintf(a[1], v1); v = float64(v1); } if s != a[3] { |