diff options
author | xuri <xuri.me@gmail.com> | 2022-01-27 22:37:32 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2022-01-27 22:37:32 +0800 |
commit | 156bf6d16ecbd5257d81e781138eaaaf357ffbec (patch) | |
tree | 1f0e630121f6368e004734f176f6d1549988f176 /excelize_test.go | |
parent | 3ee3c38f9c63de3782fad21aae9c05ee0530fc32 (diff) |
This closes #1129, make cell support inheritance columns/rows style
Correct cells style in merge range
Fix incorrect style ID returned on getting cell style in some cases
Unit test updated and simplified code
Diffstat (limited to 'excelize_test.go')
-rw-r--r-- | excelize_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/excelize_test.go b/excelize_test.go index 1548cc6..bafd446 100644 --- a/excelize_test.go +++ b/excelize_test.go @@ -147,6 +147,7 @@ func TestOpenFile(t *testing.T) { assert.NoError(t, f.SetCellValue("Sheet2", "G4", time.Now())) assert.NoError(t, f.SetCellValue("Sheet2", "G4", time.Now().UTC())) + assert.EqualError(t, f.SetCellValue("SheetN", "A1", time.Now()), "sheet SheetN is not exist") // 02:46:40 assert.NoError(t, f.SetCellValue("Sheet2", "G5", time.Duration(1e13))) // Test completion column. |