summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRad Cirskis <nad2000@gmail.com>2018-06-30 22:55:14 +1200
committerRad Cirskis <nad2000@gmail.com>2018-06-30 22:55:14 +1200
commit1a953b6601df2484a39203edff59943e41e3f438 (patch)
treec8306d3266eb1234bc0f18050bc7209ffe46a575
parente3050d21e7c645ba8ee88c9e0f32dd241e1c4cc3 (diff)
added unit tests
-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) {