mirror of
https://github.com/nxshock/mssqlbulkloader.git
synced 2024-11-28 00:21:03 +05:00
Remove ineffectual assignments
This commit is contained in:
parent
143ba6aae2
commit
3e96fdbb35
@ -34,7 +34,7 @@ func TestCsvReaderBasic(t *testing.T) {
|
|||||||
t2 := time.Date(2023, 03, 20, 0, 0, 0, 0, time.Local)
|
t2 := time.Date(2023, 03, 20, 0, 0, 0, 0, time.Local)
|
||||||
assert.Equal(t, []any{"307814009186", t1, t2, 499.00, 488.52, "522598******7141", "REZE64", "Покупка", "35068281112", "307817403283"}, row)
|
assert.Equal(t, []any{"307814009186", t1, t2, 499.00, 488.52, "522598******7141", "REZE64", "Покупка", "35068281112", "307817403283"}, row)
|
||||||
|
|
||||||
row, err = csvReader.GetRow(false)
|
_, err = csvReader.GetRow(false)
|
||||||
assert.Equal(t, err, io.EOF)
|
assert.Equal(t, err, io.EOF)
|
||||||
|
|
||||||
err = csvReader.Close()
|
err = csvReader.Close()
|
||||||
|
@ -30,7 +30,7 @@ func TestDbfReaderBasic(t *testing.T) {
|
|||||||
t2 := time.Date(2023, 02, 21, 0, 0, 0, 0, time.Local)
|
t2 := time.Date(2023, 02, 21, 0, 0, 0, 0, time.Local)
|
||||||
assert.Equal(t, []any{"719089383780", "44", "8644", "570000009312", "STOLOVAYA TSPP", "844417", t1, t2, 1757.08, 1713.15, "536829XXXXXX9388", "UM1TS8", "D"}, row)
|
assert.Equal(t, []any{"719089383780", "44", "8644", "570000009312", "STOLOVAYA TSPP", "844417", t1, t2, 1757.08, 1713.15, "536829XXXXXX9388", "UM1TS8", "D"}, row)
|
||||||
|
|
||||||
row, err = dbfReader.GetRow(false)
|
_, err = dbfReader.GetRow(false)
|
||||||
assert.Equal(t, err, io.EOF)
|
assert.Equal(t, err, io.EOF)
|
||||||
|
|
||||||
err = dbfReader.Close()
|
err = dbfReader.Close()
|
||||||
|
Loading…
Reference in New Issue
Block a user