diff options
Diffstat (limited to 'services')
-rw-r--r-- | services/gitdiff/csv_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/services/gitdiff/csv_test.go b/services/gitdiff/csv_test.go index 1710e91c58..4101477d89 100644 --- a/services/gitdiff/csv_test.go +++ b/services/gitdiff/csv_test.go @@ -194,16 +194,16 @@ c,d,e`, var baseReader *csv.Reader if len(c.base) > 0 { - baseReader, err = csv_module.CreateReaderAndGuessDelimiter(strings.NewReader(c.base)) + baseReader, err = csv_module.CreateReaderAndDetermineDelimiter(nil, strings.NewReader(c.base)) if err != nil { - t.Errorf("CreateReaderAndGuessDelimiter failed: %s", err) + t.Errorf("CreateReaderAndDetermineDelimiter failed: %s", err) } } var headReader *csv.Reader if len(c.head) > 0 { - headReader, err = csv_module.CreateReaderAndGuessDelimiter(strings.NewReader(c.head)) + headReader, err = csv_module.CreateReaderAndDetermineDelimiter(nil, strings.NewReader(c.head)) if err != nil { - t.Errorf("CreateReaderAndGuessDelimiter failed: %s", err) + t.Errorf("CreateReaderAndDetermineDelimiter failed: %s", err) } } |