summaryrefslogtreecommitdiff
path: root/rows_test.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-01-19 00:51:09 +0800
committerxuri <xuri.me@gmail.com>2022-01-19 00:51:09 +0800
commit74f6ea94eae45c8fb89a23cc94802e57ce279a84 (patch)
treef27a05419c57c3ecb89b8fd84df1ed1e5121eb05 /rows_test.go
parent4daa6ed0b46fdd994e46403feb049b162eca19b8 (diff)
ref #1054, breaking change for the column and row's iterator
This removed 3 exported functions: `TotalCols`, `CurrentCol` and `CurrentRow`
Diffstat (limited to 'rows_test.go')
-rw-r--r--rows_test.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/rows_test.go b/rows_test.go
index 0ac9271..0d2ca23 100644
--- a/rows_test.go
+++ b/rows_test.go
@@ -74,7 +74,6 @@ func TestRowsIterator(t *testing.T) {
for rows.Next() {
rowCount++
- assert.Equal(t, rowCount, rows.CurrentRow())
require.True(t, rowCount <= expectedNumRow, "rowCount is greater than expected")
}
assert.Equal(t, expectedNumRow, rowCount)