summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--excelize_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/excelize_test.go b/excelize_test.go
index aca33b4..0bcb16d 100644
--- a/excelize_test.go
+++ b/excelize_test.go
@@ -816,6 +816,11 @@ func TestAddComments(t *testing.T) {
if err != nil {
t.Error(err)
}
+ allComments := xlsx.GetComments()
+ if len(allComments) != 2 {
+ t.Error("Expected 2 comment entry elements.")
+ }
+
}
func TestAutoFilter(t *testing.T) {