diff options
author | Ri Xu <xuri.me@gmail.com> | 2018-03-02 10:19:40 +0800 |
---|---|---|
committer | Ri Xu <xuri.me@gmail.com> | 2018-03-02 10:19:40 +0800 |
commit | b1b056e0ebe0f05bae16023bf4972bda226de40c (patch) | |
tree | b7a46e3d2aafda236c47bbbfef68e263624f889c /excelize_test.go | |
parent | 9d7b94d760126aa51485d7d864b1b98a8720017c (diff) |
Handle special shared string table file name `xl/SharedStrings.xml`, relate issue #188
Diffstat (limited to 'excelize_test.go')
-rw-r--r-- | excelize_test.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/excelize_test.go b/excelize_test.go index ca705e5..0d0fdf1 100644 --- a/excelize_test.go +++ b/excelize_test.go @@ -1009,3 +1009,12 @@ func TestTitleToNumber(t *testing.T) { t.Error("Conver title to number failed") } } + +func TestSharedStrings(t *testing.T) { + xlsx, err := OpenFile("./test/SharedStrings.xlsx") + if err != nil { + fmt.Println(err) + return + } + xlsx.GetRows("Sheet1") +} |