diff options
author | xuri <xuri.me@gmail.com> | 2020-07-11 02:31:02 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2020-07-11 02:31:02 +0800 |
commit | 0aa15106947965bdae9daae7571a4a3f569bf32d (patch) | |
tree | 212b49784a953a056169351be9d07e3abefb8a55 /lib_test.go | |
parent | 42b1c8148883844cf80b70a3096e6ee67be01f61 (diff) |
update docs and improve compatibility
Diffstat (limited to 'lib_test.go')
-rw-r--r-- | lib_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib_test.go b/lib_test.go index 229412c..e4ccdcc 100644 --- a/lib_test.go +++ b/lib_test.go @@ -95,6 +95,9 @@ func TestColumnNumberToName_Error(t *testing.T) { if assert.Error(t, err) { assert.Equal(t, "", out) } + + _, err = ColumnNumberToName(TotalColumns + 1) + assert.EqualError(t, err, "column number exceeds maximum limit") } func TestSplitCellName_OK(t *testing.T) { |