summaryrefslogtreecommitdiff
path: root/cell_test.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2021-01-08 23:57:13 +0800
committerxuri <xuri.me@gmail.com>2021-01-08 23:57:13 +0800
commita26675517e6326a7e3d3391f9de79d5efeb8bb90 (patch)
tree8c0dbf440227b52ab9334fb32f709e233b9ff2bc /cell_test.go
parent22dc6ff33c24e25c0281401272c852f81c10a9f1 (diff)
This closes #756, not set the empty string for the cell when SetCellValue with nil
Diffstat (limited to 'cell_test.go')
-rw-r--r--cell_test.go2
1 files changed, 1 insertions, 1 deletions
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