From 544ef18a8cb9949fcb8833c6d2816783c90f3318 Mon Sep 17 00:00:00 2001 From: xuri Date: Mon, 5 Jul 2021 00:03:56 +0800 Subject: - Support concurrency iterate rows and columns - Rename exported field `File.XLSX` to `File.Pkg` - Exported error message --- drawing_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'drawing_test.go') diff --git a/drawing_test.go b/drawing_test.go index 3c0b619..f2413cf 100644 --- a/drawing_test.go +++ b/drawing_test.go @@ -19,10 +19,10 @@ import ( func TestDrawingParser(t *testing.T) { f := File{ Drawings: sync.Map{}, - XLSX: map[string][]byte{ - "charset": MacintoshCyrillicCharset, - "wsDr": []byte(``)}, + Pkg: sync.Map{}, } + f.Pkg.Store("charset", MacintoshCyrillicCharset) + f.Pkg.Store("wsDr", []byte(``)) // Test with one cell anchor f.drawingParser("wsDr") // Test with unsupported charset -- cgit v1.2.1