From adf9d37d82edd3dbc365fece76a031a92e2220d6 Mon Sep 17 00:00:00 2001 From: xuri Date: Wed, 26 Oct 2022 00:04:23 +0800 Subject: 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 --- adjust_test.go | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'adjust_test.go') 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 { -- cgit v1.2.1