From 32b23ef42d3ecb393e102c5f63ab5125db354435 Mon Sep 17 00:00:00 2001 From: xuri Date: Sun, 5 Sep 2021 11:59:50 +0800 Subject: This closes #998 - Support text comparison in the formula, also ref #65 - `GetCellValue`, `GetRows`, `GetCols`, `Rows` and `Cols` support to specify read cell with raw value, ref #621 - Add missing properties for the cell formula - Update the unit test for the `CalcCellValue` --- rows_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rows_test.go') diff --git a/rows_test.go b/rows_test.go index a54e755..c0dc1d8 100644 --- a/rows_test.go +++ b/rows_test.go @@ -845,7 +845,7 @@ func TestGetValueFromInlineStr(t *testing.T) { c := &xlsxC{T: "inlineStr"} f := NewFile() d := &xlsxSST{} - val, err := c.getValueFrom(f, d) + val, err := c.getValueFrom(f, d, false) assert.NoError(t, err) assert.Equal(t, "", val) } @@ -865,7 +865,7 @@ func TestGetValueFromNumber(t *testing.T) { "2.220000ddsf0000000002-r": "2.220000ddsf0000000002-r", } { c.V = input - val, err := c.getValueFrom(f, d) + val, err := c.getValueFrom(f, d, false) assert.NoError(t, err) assert.Equal(t, expected, val) } -- cgit v1.2.1