summaryrefslogtreecommitdiff
path: root/stream_test.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2019-12-23 00:07:40 +0800
committerxuri <xuri.me@gmail.com>2019-12-23 00:07:40 +0800
commit4e4a5b9b3e052d1694442515492792fb1aa74c5a (patch)
treeebb0746cc3a26e50ed921f6f25cb295be6c3c417 /stream_test.go
parentae2865d9237cfd27d7bc4fbef3870b3361597be8 (diff)
Improve compatibility, fix workbook's rels ID calc error
Diffstat (limited to 'stream_test.go')
-rw-r--r--stream_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream_test.go b/stream_test.go
index 8371a4e..4482bd1 100644
--- a/stream_test.go
+++ b/stream_test.go
@@ -42,7 +42,7 @@ func TestStreamWriter(t *testing.T) {
assert.NoError(t, file.SaveAs(filepath.Join("test", "TestStreamWriter.xlsx")))
// Test error exceptions
- streamWriter, err = file.NewStreamWriter("SheetN")
+ _, err = file.NewStreamWriter("SheetN")
assert.EqualError(t, err, "sheet SheetN is not exist")
}