summaryrefslogtreecommitdiff
path: root/adjust_test.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-10-26 00:04:23 +0800
committerxuri <xuri.me@gmail.com>2022-10-26 00:04:23 +0800
commitadf9d37d82edd3dbc365fece76a031a92e2220d6 (patch)
tree9cabfbaab8fb790c65591b7e0d8c7fde4c6a72eb /adjust_test.go
parentf44153ea4679247070d6f1e31bb0934a10bebb31 (diff)
This closes #1379, cleanup stream writer temporary files by the `Close` function
- Fix error on inserting columns or rows on the worksheet which contains one cell merged cell range - Fix getting incomplete rich text cell value in some cases - Unit tests updated
Diffstat (limited to 'adjust_test.go')
-rw-r--r--adjust_test.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/adjust_test.go b/adjust_test.go
index a3e73ab..010955c 100644
--- a/adjust_test.go
+++ b/adjust_test.go
@@ -47,6 +47,15 @@ func TestAdjustMergeCells(t *testing.T) {
},
},
}, columns, 1, -1))
+ assert.NoError(t, f.adjustMergeCells(&xlsxWorksheet{
+ MergeCells: &xlsxMergeCells{
+ Cells: []*xlsxMergeCell{
+ {
+ Ref: "A2",
+ },
+ },
+ },
+ }, columns, 1, -1))
// testing adjustMergeCells
var cases []struct {