From 14c6a198ce27b44fcce5447a2b757ce403ebb8fc Mon Sep 17 00:00:00 2001 From: xuri Date: Mon, 24 Oct 2022 00:02:22 +0800 Subject: 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 --- rows_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rows_test.go') 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) -- cgit v1.2.1