From 36b7990d6ba1036823abf7a01ec8cf74509d4910 Mon Sep 17 00:00:00 2001 From: xuri Date: Mon, 15 Feb 2021 00:09:35 +0800 Subject: lint issue fixed and new formula function: ATAN, AVERAGE, AVERAGEA, CONCAT, CONCATENATE, COUNT, COUNTBLANK, MAX --- file_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'file_test.go') 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") -- cgit v1.2.1