diff options
author | xuri <xuri.me@gmail.com> | 2019-10-24 23:18:02 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2019-10-24 23:18:02 +0800 |
commit | 87390cdd99b3afbe07daeef9abe96f57d03cb352 (patch) | |
tree | 54c2ec7b954f2f1f18bc4432902fce9e9c1dbc4d /rows_test.go | |
parent | 9fe267ffcfa06545223160cdb8c35cd91163730e (diff) |
Resolve #511, allow empty columns in the pivot table
Diffstat (limited to 'rows_test.go')
-rw-r--r-- | rows_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rows_test.go b/rows_test.go index f0fbe03..a443e89 100644 --- a/rows_test.go +++ b/rows_test.go @@ -22,7 +22,7 @@ func TestRows(t *testing.T) { t.FailNow() } - collectedRows := make([][]string, 0) + var collectedRows [][]string for rows.Next() { columns, err := rows.Columns() assert.NoError(t, err) |