From e5c5ecc379434b7ef4ffcbb9dcf58526cafda66a Mon Sep 17 00:00:00 2001 From: xuri Date: Mon, 26 Apr 2021 22:51:35 +0800 Subject: Fixed #825, improves compatibility for comments with absolute XML path --- comment_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'comment_test.go') diff --git a/comment_test.go b/comment_test.go index ee8b826..19b705f 100644 --- a/comment_test.go +++ b/comment_test.go @@ -40,6 +40,7 @@ func TestAddComments(t *testing.T) { comments := f.GetComments() assert.EqualValues(t, 2, len(comments["Sheet1"])) assert.EqualValues(t, 1, len(comments["Sheet2"])) + assert.EqualValues(t, len(NewFile().GetComments()), 0) } func TestDecodeVMLDrawingReader(t *testing.T) { -- cgit v1.2.1