diff options
author | xuri <xuri.me@gmail.com> | 2021-07-08 00:52:07 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2021-07-08 00:52:07 +0800 |
commit | 4f0d676eb765472d1fe7a29cacd165b982785bd2 (patch) | |
tree | ccf5057aa8beeff38b6948c3dd5541fe0003d399 /col_test.go | |
parent | 90d200a10ba4d8c2ae2eff47ad8e1cca0ab28e76 (diff) |
Fix missing set each cell's styles when set columns style
Diffstat (limited to 'col_test.go')
-rw-r--r-- | col_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/col_test.go b/col_test.go index 8159a11..58f424b 100644 --- a/col_test.go +++ b/col_test.go @@ -287,6 +287,7 @@ func TestOutlineLevel(t *testing.T) { func TestSetColStyle(t *testing.T) { f := NewFile() + assert.NoError(t, f.SetCellValue("Sheet1", "B2", "Hello")) style, err := f.NewStyle(`{"fill":{"type":"pattern","color":["#94d3a2"],"pattern":1}}`) assert.NoError(t, err) // Test set column style on not exists worksheet. |