|
|
@@ -26,7 +26,6 @@ func (s *SheetSuite) TestMakeXLSXSheetFromRows(c *C) {
|
|
|
sheet := file.AddSheet("Sheet1")
|
|
|
row := sheet.AddRow()
|
|
|
cell := row.AddCell()
|
|
|
- cell.cellType = CellTypeString
|
|
|
cell.Value = "A cell!"
|
|
|
refTable := NewSharedStringRefTable()
|
|
|
styles := newXlsxStyleSheet(nil)
|
|
|
@@ -192,7 +191,6 @@ func (s *SheetSuite) TestMarshalSheet(c *C) {
|
|
|
row := sheet.AddRow()
|
|
|
cell := row.AddCell()
|
|
|
cell.Value = "A cell!"
|
|
|
- cell.cellType = CellTypeString
|
|
|
refTable := NewSharedStringRefTable()
|
|
|
styles := newXlsxStyleSheet(nil)
|
|
|
xSheet := sheet.makeXLSXSheet(refTable, styles)
|
|
|
@@ -213,10 +211,8 @@ func (s *SheetSuite) TestMarshalSheetWithMultipleCells(c *C) {
|
|
|
sheet := file.AddSheet("Sheet1")
|
|
|
row := sheet.AddRow()
|
|
|
cell := row.AddCell()
|
|
|
- cell.cellType = CellTypeString
|
|
|
cell.Value = "A cell (with value 1)!"
|
|
|
cell = row.AddCell()
|
|
|
- cell.cellType = CellTypeString
|
|
|
cell.Value = "A cell (with value 2)!"
|
|
|
refTable := NewSharedStringRefTable()
|
|
|
styles := newXlsxStyleSheet(nil)
|