summaryrefslogtreecommitdiff
path: root/errors_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'errors_test.go')
-rw-r--r--errors_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/errors_test.go b/errors_test.go
index 89d241c..207e80a 100644
--- a/errors_test.go
+++ b/errors_test.go
@@ -19,3 +19,7 @@ func TestNewInvalidCellNameError(t *testing.T) {
assert.EqualError(t, newInvalidCellNameError("A"), "invalid cell name \"A\"")
assert.EqualError(t, newInvalidCellNameError(""), "invalid cell name \"\"")
}
+
+func TestNewInvalidExcelDateError(t *testing.T) {
+ assert.EqualError(t, newInvalidExcelDateError(-1), "invalid date value -1.000000, negative values are not supported supported")
+}