From 3e96fdbb353dbe6ba69b8f681a95d605e31da72b Mon Sep 17 00:00:00 2001 From: nxshock Date: Fri, 9 Feb 2024 09:50:02 +0500 Subject: [PATCH] Remove ineffectual assignments --- readercsv_test.go | 2 +- readerdbf_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/readercsv_test.go b/readercsv_test.go index 649d73e..b1c30b6 100644 --- a/readercsv_test.go +++ b/readercsv_test.go @@ -34,7 +34,7 @@ func TestCsvReaderBasic(t *testing.T) { 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) - row, err = csvReader.GetRow(false) + _, err = csvReader.GetRow(false) assert.Equal(t, err, io.EOF) err = csvReader.Close() diff --git a/readerdbf_test.go b/readerdbf_test.go index 2c55940..3895f7a 100644 --- a/readerdbf_test.go +++ b/readerdbf_test.go @@ -30,7 +30,7 @@ func TestDbfReaderBasic(t *testing.T) { 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) - row, err = dbfReader.GetRow(false) + _, err = dbfReader.GetRow(false) assert.Equal(t, err, io.EOF) err = dbfReader.Close()