diff options
author | xuri <xuri.me@gmail.com> | 2021-02-15 00:09:35 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2021-02-15 00:09:35 +0800 |
commit | 36b7990d6ba1036823abf7a01ec8cf74509d4910 (patch) | |
tree | 118e8a9e0db3d071defb497cd98b2fa85595f7b9 /file_test.go | |
parent | ca6b1577a7d1508e61e7084ee67ab0dd759b305e (diff) |
lint issue fixed and new formula function: ATAN, AVERAGE, AVERAGEA, CONCAT, CONCATENATE, COUNT, COUNTBLANK, MAX
Diffstat (limited to 'file_test.go')
-rw-r--r-- | file_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/file_test.go b/file_test.go index 0f979b8..656271f 100644 --- a/file_test.go +++ b/file_test.go @@ -35,7 +35,7 @@ func BenchmarkWrite(b *testing.B) { func TestWriteTo(t *testing.T) { f := File{} buf := bytes.Buffer{} - f.XLSX = make(map[string][]byte, 0) + f.XLSX = make(map[string][]byte) f.XLSX["/d/"] = []byte("s") _, err := f.WriteTo(bufio.NewWriter(&buf)) assert.EqualError(t, err, "zip: write to directory") |