diff options
author | xuri <xuri.me@gmail.com> | 2021-07-05 00:03:56 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2021-07-05 00:03:56 +0800 |
commit | 544ef18a8cb9949fcb8833c6d2816783c90f3318 (patch) | |
tree | 88bb3eaa9d92522d3b5c4eeb052210c26bc4c99f /pivotTable_test.go | |
parent | 0e02329bedf6648259fd219642bb907bdb07fd21 (diff) |
- Support concurrency iterate rows and columns
- Rename exported field `File.XLSX` to `File.Pkg`
- Exported error message
Diffstat (limited to 'pivotTable_test.go')
-rw-r--r-- | pivotTable_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pivotTable_test.go b/pivotTable_test.go index 7098b3a..e746d8d 100644 --- a/pivotTable_test.go +++ b/pivotTable_test.go @@ -137,12 +137,12 @@ func TestAddPivotTable(t *testing.T) { ShowLastColumn: true, })) // Create pivot table with many data, many rows, many cols and defined name - f.SetDefinedName(&DefinedName{ + assert.NoError(t, f.SetDefinedName(&DefinedName{ Name: "dataRange", RefersTo: "Sheet1!$A$1:$E$31", Comment: "Pivot Table Data Range", Scope: "Sheet2", - }) + })) assert.NoError(t, f.AddPivotTable(&PivotTableOption{ DataRange: "dataRange", PivotTableRange: "Sheet2!$A$57:$AJ$91", |