diff options
| author | xuri <xuri.me@gmail.com> | 2018-07-10 10:10:38 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-10 10:10:38 +0800 |
| commit | 58a7b23d11ef36156af6f694a1753715df8ae2fc (patch) | |
| tree | f4c7431fa3e313d3ecbc6c7adc951e585aa760e5 /excelize_test.go | |
| parent | d6468fc114217678e8bc8b4324fd6185794e0182 (diff) | |
| parent | 1a953b6601df2484a39203edff59943e41e3f438 (diff) | |
Merge pull request #246 from nad2000/retrieve-comments
added retrieval of worksheet comments
Diffstat (limited to 'excelize_test.go')
| -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 549190c..94732fe 100644 --- a/excelize_test.go +++ b/excelize_test.go @@ -817,6 +817,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) { |
