summaryrefslogtreecommitdiff
path: root/drawing_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'drawing_test.go')
-rw-r--r--drawing_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/drawing_test.go b/drawing_test.go
index 1ee8fae..3c0b619 100644
--- a/drawing_test.go
+++ b/drawing_test.go
@@ -12,12 +12,13 @@
package excelize
import (
+ "sync"
"testing"
)
func TestDrawingParser(t *testing.T) {
f := File{
- Drawings: make(map[string]*xlsxWsDr),
+ Drawings: sync.Map{},
XLSX: map[string][]byte{
"charset": MacintoshCyrillicCharset,
"wsDr": []byte(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?><xdr:wsDr xmlns:xdr="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"><xdr:oneCellAnchor><xdr:graphicFrame/></xdr:oneCellAnchor></xdr:wsDr>`)},