summaryrefslogtreecommitdiff
path: root/table_test.go
diff options
context:
space:
mode:
authordavidborry <davidborryfr@gmail.com>2022-08-27 09:16:41 -0700
committerGitHub <noreply@github.com>2022-08-28 00:16:41 +0800
commitbef49e40eec508a6413e80ee5df7df52f7827424 (patch)
treed71fcc5d3abef6f8943e3fc2f75fe9dd796d94fd /table_test.go
parentf8667386dcde788d8232b652ac85a138c0d20bf3 (diff)
This closes #1330 update non existing sheet error messages (#1331)
Diffstat (limited to 'table_test.go')
-rw-r--r--table_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/table_test.go b/table_test.go
index 5941c50..39b418b 100644
--- a/table_test.go
+++ b/table_test.go
@@ -30,7 +30,7 @@ func TestAddTable(t *testing.T) {
}
// Test add table in not exist worksheet.
- assert.EqualError(t, f.AddTable("SheetN", "B26", "A21", `{}`), "sheet SheetN is not exist")
+ assert.EqualError(t, f.AddTable("SheetN", "B26", "A21", `{}`), "sheet SheetN does not exist")
// Test add table with illegal formatset.
assert.EqualError(t, f.AddTable("Sheet1", "B26", "A21", `{x}`), "invalid character 'x' looking for beginning of object key string")
// Test add table with illegal cell coordinates.
@@ -111,7 +111,7 @@ func TestAutoFilterError(t *testing.T) {
assert.EqualError(t, f.autoFilter("SheetN", "A1", 1, 1, &formatAutoFilter{
Column: "A",
Expression: "",
- }), "sheet SheetN is not exist")
+ }), "sheet SheetN does not exist")
assert.EqualError(t, f.autoFilter("Sheet1", "A1", 1, 1, &formatAutoFilter{
Column: "-",
Expression: "-",