Browse Source

add test for google docs excel

Shawn Smith 11 years ago
parent
commit
abd8de3d34
2 changed files with 15 additions and 0 deletions
  1. 15 0
      googleDocsExcel_test.go
  2. BIN
      googleDocsTest.xlsx

+ 15 - 0
googleDocsExcel_test.go

@@ -0,0 +1,15 @@
+package xlsx
+
+import . "gopkg.in/check.v1"
+
+type GoogleDocsExcelSuite struct{}
+
+var _ = Suite(&GoogleDocsExcelSuite{})
+
+// Test that we can successfully read an XLSX file generated by
+// Google Docs.
+func (g *GoogleDocsExcelSuite) TestGoogleDocsExcel(c *C) {
+	xlsxFile, err := OpenFile("googleDocsTest.xlsx")
+	c.Assert(err, IsNil)
+	c.Assert(xlsxFile, NotNil)
+}

BIN
googleDocsTest.xlsx