diff options
Diffstat (limited to 'src/pkg/strconv/fp_test.go')
-rw-r--r-- | src/pkg/strconv/fp_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/strconv/fp_test.go b/src/pkg/strconv/fp_test.go index 62fcfc677..4cbadf316 100644 --- a/src/pkg/strconv/fp_test.go +++ b/src/pkg/strconv/fp_test.go @@ -116,7 +116,7 @@ func TestFp(t *testing.T) { if len(line) == 0 || line[0] == '#' { continue } - a := strings.Split(line, " ", 0) + a := strings.Split(line, " ", -1) if len(a) != 4 { t.Error("testfp.txt:", lineno, ": wrong field count\n") continue |