summaryrefslogtreecommitdiff
path: root/comment_test.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2021-04-26 22:51:35 +0800
committerxuri <xuri.me@gmail.com>2021-04-26 22:51:35 +0800
commite5c5ecc379434b7ef4ffcbb9dcf58526cafda66a (patch)
tree3c206af0890a8bb9ef93b11cbcb14d9523b8ec96 /comment_test.go
parentf5a20fa03f2abd9edfa2f9da66680e987fffae79 (diff)
Fixed #825, improves compatibility for comments with absolute XML path
Diffstat (limited to 'comment_test.go')
-rw-r--r--comment_test.go1
1 files changed, 1 insertions, 0 deletions
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) {