diff options
author | xuri <xuri.me@gmail.com> | 2020-10-18 00:01:33 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2020-10-18 00:01:33 +0800 |
commit | 520aa679f34bafbc00626151075b0b123eceb516 (patch) | |
tree | 532b53262f78f27351ea9647d9ec09c820b38b6f /excelize_test.go | |
parent | 02530e8c8ad94308458a33ac694e6ac9d3af4c87 (diff) |
Fix #706, #713 improve AddPicture performance, fix missing worksheet when rename with same names
Diffstat (limited to 'excelize_test.go')
-rw-r--r-- | excelize_test.go | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/excelize_test.go b/excelize_test.go index 890bcf6..9c1b1e6 100644 --- a/excelize_test.go +++ b/excelize_test.go @@ -954,17 +954,6 @@ func TestGetSheetComments(t *testing.T) { assert.Equal(t, "", f.getSheetComments("sheet0")) } -func TestSetActiveSheet(t *testing.T) { - f := NewFile() - f.WorkBook.BookViews = nil - f.SetActiveSheet(1) - f.WorkBook.BookViews = &xlsxBookViews{WorkBookView: []xlsxWorkBookView{}} - f.Sheet["xl/worksheets/sheet1.xml"].SheetViews = &xlsxSheetViews{SheetView: []xlsxSheetView{}} - f.SetActiveSheet(1) - f.Sheet["xl/worksheets/sheet1.xml"].SheetViews = nil - f.SetActiveSheet(1) -} - func TestSetSheetVisible(t *testing.T) { f := NewFile() f.WorkBook.Sheets.Sheet[0].Name = "SheetN" |