소스 검색

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

Geoffrey J. Teale 11 년 전
부모
커밋
25cdc9583d
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  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")
 	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.
 // Test that GetStyle correctly converts the xlsxStyle.Borders.
 func (s *CellSuite) TestGetStyleWithBorders(c *C) {
 func (s *CellSuite) TestGetStyleWithBorders(c *C) {
 	var cell *Cell
 	var cell *Cell