diff options
author | Rad Cirskis <nad2000@gmail.com> | 2018-06-30 22:55:14 +1200 |
---|---|---|
committer | Rad Cirskis <nad2000@gmail.com> | 2018-06-30 22:55:14 +1200 |
commit | 1a953b6601df2484a39203edff59943e41e3f438 (patch) | |
tree | c8306d3266eb1234bc0f18050bc7209ffe46a575 | |
parent | e3050d21e7c645ba8ee88c9e0f32dd241e1c4cc3 (diff) |
added unit tests
-rw-r--r-- | excelize_test.go | 5 |
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) { |