diff options
Diffstat (limited to 'drawing_test.go')
-rw-r--r-- | drawing_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
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(`<?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>`)}, + Pkg: sync.Map{}, } + f.Pkg.Store("charset", MacintoshCyrillicCharset) + f.Pkg.Store("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>`)) // Test with one cell anchor f.drawingParser("wsDr") // Test with unsupported charset |