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 /sparkline_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 'sparkline_test.go')
-rw-r--r-- | sparkline_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sparkline_test.go b/sparkline_test.go index eac9824..0777ee1 100644 --- a/sparkline_test.go +++ b/sparkline_test.go @@ -253,7 +253,9 @@ func TestAddSparkline(t *testing.T) { Style: -1, }), `parameter 'Style' must betweent 0-35`) - f.Sheet["xl/worksheets/sheet1.xml"].ExtLst.Ext = `<extLst> + ws, ok := f.Sheet.Load("xl/worksheets/sheet1.xml") + assert.True(t, ok) + ws.(*xlsxWorksheet).ExtLst.Ext = `<extLst> <ext x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main" uri="{05C60535-1F16-4fd2-B633-F4F36F0B64E0}"> <x14:sparklineGroups xmlns:xm="http://schemas.microsoft.com/office/excel/2006/main"> |