|
@@ -160,7 +160,8 @@ func (s *SheetSuite) TestMarshalSheetWithMultipleCells(c *C) {
|
|
|
cell = row.AddCell()
|
|
cell = row.AddCell()
|
|
|
cell.Value = "A cell (with value 2)!"
|
|
cell.Value = "A cell (with value 2)!"
|
|
|
refTable := NewSharedStringRefTable()
|
|
refTable := NewSharedStringRefTable()
|
|
|
- xSheet := sheet.makeXLSXSheet(refTable)
|
|
|
|
|
|
|
+ styles := &xlsxStyles{}
|
|
|
|
|
+ xSheet := sheet.makeXLSXSheet(refTable, styles)
|
|
|
|
|
|
|
|
output := bytes.NewBufferString(xml.Header)
|
|
output := bytes.NewBufferString(xml.Header)
|
|
|
body, err := xml.MarshalIndent(xSheet, " ", " ")
|
|
body, err := xml.MarshalIndent(xSheet, " ", " ")
|
|
@@ -177,10 +178,10 @@ func (s *SheetSuite) TestMarshalSheetWithMultipleCells(c *C) {
|
|
|
</cols>
|
|
</cols>
|
|
|
<sheetData>
|
|
<sheetData>
|
|
|
<row r="1">
|
|
<row r="1">
|
|
|
- <c r="A1" t="s">
|
|
|
|
|
|
|
+ <c r="A1" s="0" t="s">
|
|
|
<v>0</v>
|
|
<v>0</v>
|
|
|
</c>
|
|
</c>
|
|
|
- <c r="B1" t="s">
|
|
|
|
|
|
|
+ <c r="B1" s="1" t="s">
|
|
|
<v>1</v>
|
|
<v>1</v>
|
|
|
</c>
|
|
</c>
|
|
|
</row>
|
|
</row>
|