From a26675517e6326a7e3d3391f9de79d5efeb8bb90 Mon Sep 17 00:00:00 2001 From: xuri Date: Fri, 8 Jan 2021 23:57:13 +0800 Subject: This closes #756, not set the empty string for the cell when SetCellValue with nil --- cell_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cell_test.go') diff --git a/cell_test.go b/cell_test.go index 8d3f774..2122eca 100644 --- a/cell_test.go +++ b/cell_test.go @@ -331,7 +331,7 @@ func TestFormattedValue2(t *testing.T) { f.Styles.CellXfs.Xf = append(f.Styles.CellXfs.Xf, xlsxXf{ NumFmtID: nil, }) - v = f.formattedValue(3, "43528") + _ = f.formattedValue(3, "43528") // formatted value with empty number format f.Styles.NumFmts = nil -- cgit v1.2.1