diff options
author | xuri <xuri.me@gmail.com> | 2021-09-05 11:59:50 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2021-09-05 11:59:50 +0800 |
commit | 32b23ef42d3ecb393e102c5f63ab5125db354435 (patch) | |
tree | e73ec4e2e062d15ca6d53407039ddb3004942995 /rows_test.go | |
parent | 2616aa88cb2b1e45c03ada60093f4dfe7fabfb87 (diff) |
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`
Diffstat (limited to 'rows_test.go')
-rw-r--r-- | rows_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
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) } |