diff options
Diffstat (limited to 'comment_test.go')
-rw-r--r-- | comment_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/comment_test.go b/comment_test.go index ed44508..ead3939 100644 --- a/comment_test.go +++ b/comment_test.go @@ -112,7 +112,8 @@ func TestDecodeVMLDrawingReader(t *testing.T) { f := NewFile() path := "xl/drawings/vmlDrawing1.xml" f.Pkg.Store(path, MacintoshCyrillicCharset) - f.decodeVMLDrawingReader(path) + _, err := f.decodeVMLDrawingReader(path) + assert.EqualError(t, err, "XML syntax error on line 1: invalid UTF-8") } func TestCommentsReader(t *testing.T) { |