summaryrefslogtreecommitdiff
path: root/rows_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'rows_test.go')
-rw-r--r--rows_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/rows_test.go b/rows_test.go
index d52c635..a99a594 100644
--- a/rows_test.go
+++ b/rows_test.go
@@ -669,6 +669,11 @@ func TestDuplicateRowInvalidRownum(t *testing.T) {
}
}
+func TestErrSheetNotExistError(t *testing.T) {
+ err := ErrSheetNotExist{SheetName: "Sheet1"}
+ assert.EqualValues(t, err.Error(), "Sheet Sheet1 is not exist")
+}
+
func BenchmarkRows(b *testing.B) {
for i := 0; i < b.N; i++ {
f, _ := OpenFile(filepath.Join("test", "Book1.xlsx"))