From 520aa679f34bafbc00626151075b0b123eceb516 Mon Sep 17 00:00:00 2001 From: xuri Date: Sun, 18 Oct 2020 00:01:33 +0800 Subject: Fix #706, #713 improve AddPicture performance, fix missing worksheet when rename with same names --- col_test.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'col_test.go') 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)) +} -- cgit v1.2.1