Browse Source

Check in current state of writeable-xlsx so I can switch branches

Geoffrey J. Teale 11 years ago
parent
commit
25cdc9583d
1 changed files with 10 additions and 0 deletions
  1. 10 0
      cell_test.go

+ 10 - 0
cell_test.go

@@ -122,6 +122,16 @@ func (s *CellSuite) TestGetStyleWithFills(c *C) {
 	c.Assert(fill.FgColor, Equals, "FF000000")
 }
 
+// Test that SetStyle correctly updates xlsxStyle.Fills.
+func (s *CellSuite) TestSetStyleWithFills(c *C) {
+	file := NewFile()
+	sheet := file.AddSheet("Test")
+	row := sheet.AddRow()
+	cell := row.AddCell()
+	fill := NewFill(
+}
+
+
 // Test that GetStyle correctly converts the xlsxStyle.Borders.
 func (s *CellSuite) TestGetStyleWithBorders(c *C) {
 	var cell *Cell