diff options
author | xuri <xuri.me@gmail.com> | 2020-10-18 00:01:33 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2020-10-18 00:01:33 +0800 |
commit | 520aa679f34bafbc00626151075b0b123eceb516 (patch) | |
tree | 532b53262f78f27351ea9647d9ec09c820b38b6f /col_test.go | |
parent | 02530e8c8ad94308458a33ac694e6ac9d3af4c87 (diff) |
Fix #706, #713 improve AddPicture performance, fix missing worksheet when rename with same names
Diffstat (limited to 'col_test.go')
-rw-r--r-- | col_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/col_test.go b/col_test.go index 02c5ca2..532f428 100644 --- a/col_test.go +++ b/col_test.go @@ -362,3 +362,7 @@ func TestRemoveCol(t *testing.T) { assert.NoError(t, f.SaveAs(filepath.Join("test", "TestRemoveCol.xlsx"))) } + +func TestConvertColWidthToPixels(t *testing.T) { + assert.Equal(t, -11.0, convertColWidthToPixels(-1)) +} |