From 15fd56853fe1b63217fb963c951cf4fef7b56a08 Mon Sep 17 00:00:00 2001 From: xuri Date: Mon, 22 Jun 2020 00:14:56 +0800 Subject: Update docs and typo fixed --- col_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'col_test.go') diff --git a/col_test.go b/col_test.go index fac78eb..e6e7e29 100644 --- a/col_test.go +++ b/col_test.go @@ -129,7 +129,7 @@ func TestGetColsError(t *testing.T) { cols.totalRow = 2 cols.totalCol = 2 cols.curCol = 1 - cols.decoder = []byte(`A`) + cols.sheetXML = []byte(`A`) _, err = cols.Rows() assert.EqualError(t, err, `cannot convert cell "A" to coordinates: invalid cell name "A"`) } @@ -153,7 +153,7 @@ func TestColsRows(t *testing.T) { assert.NoError(t, err) // Test if token is nil - cols.decoder = nil + cols.sheetXML = nil _, err = cols.Rows() assert.NoError(t, err) } -- cgit v1.2.1