summaryrefslogtreecommitdiff
path: root/rows_test.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-10-24 00:02:22 +0800
committerxuri <xuri.me@gmail.com>2022-10-24 00:52:09 +0800
commit14c6a198ce27b44fcce5447a2b757ce403ebb8fc (patch)
treea59eea77f6e6d691a1015afa2b3629cbe7cc695b /rows_test.go
parentf843a9ea56710deb4cdb77ea2cd3a08d8d82d3e6 (diff)
Support get cell value which contains a date in the ISO 8601 format
- Support set and get font color with indexed color - New export variable `IndexedColorMapping` - Fix getting incorrect page margin settings when the margin is 0 - Update unit tests and comments typo fixes - ref #65, new formula functions: AGGREGATE and SUBTOTAL
Diffstat (limited to 'rows_test.go')
-rw-r--r--rows_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rows_test.go b/rows_test.go
index 76823ba..423932f 100644
--- a/rows_test.go
+++ b/rows_test.go
@@ -1048,7 +1048,7 @@ func TestNumberFormats(t *testing.T) {
{"A32", numFmt40, -8.8888666665555487, "(8.89)"},
} {
cell, styleID, value, expected := cases[0].(string), cases[1].(int), cases[2], cases[3].(string)
- f.SetCellStyle("Sheet1", cell, cell, styleID)
+ assert.NoError(t, f.SetCellStyle("Sheet1", cell, cell, styleID))
assert.NoError(t, f.SetCellValue("Sheet1", cell, value))
result, err := f.GetCellValue("Sheet1", cell)
assert.NoError(t, err)