diff options
author | xuri <xuri.me@gmail.com> | 2020-02-26 18:53:50 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2020-02-26 18:53:50 +0800 |
commit | 821a5d86725eb80b3f9e806d91eca5859497c2fa (patch) | |
tree | c2b3ca818cac174d23e041f882244a21f8d5166e /rows_test.go | |
parent | 8b20ea1685cdb010be8f95ffc047fa44e1a0e90a (diff) |
AddPivotTable API changed: new structure PivotTableField to hold pivot table fields for better scalability
Diffstat (limited to 'rows_test.go')
-rw-r--r-- | rows_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rows_test.go b/rows_test.go index a5ee428..a53b0a9 100644 --- a/rows_test.go +++ b/rows_test.go @@ -810,7 +810,7 @@ func TestDuplicateRowTo(t *testing.T) { func TestDuplicateMergeCells(t *testing.T) { f := File{} xlsx := &xlsxWorksheet{MergeCells: &xlsxMergeCells{ - Cells: []*xlsxMergeCell{&xlsxMergeCell{Ref: "A1:-"}}, + Cells: []*xlsxMergeCell{{Ref: "A1:-"}}, }} assert.EqualError(t, f.duplicateMergeCells("Sheet1", xlsx, 0, 0), `cannot convert cell "-" to coordinates: invalid cell name "-"`) xlsx.MergeCells.Cells[0].Ref = "A1:B1" |