aboutsummaryrefslogtreecommitdiffstats
path: root/test/helpers/test_comments.rb
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-11-26 19:02:46 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2025-11-26 19:02:46 -0500
commitc77a15eed515fe6dc9b2e831670f4d484e23dace (patch)
tree87c79155c0b52b0e59eaf971f2b5bf9d860c77e4 /test/helpers/test_comments.rb
parent537c7673bedbb1a2f77a3a088710546cb46506d0 (diff)
parentc62f8376a13e7a4f493167aba1c66a9201fc59c6 (diff)
Update upstream source from tag 'upstream/3.0.0'
Update to upstream version '3.0.0' with Debian dir ceed7b02bc1417ad11993c466d2350a6b62fbecf
Diffstat (limited to 'test/helpers/test_comments.rb')
-rw-r--r--test/helpers/test_comments.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/helpers/test_comments.rb b/test/helpers/test_comments.rb
index 2e26786..e204b1a 100644
--- a/test/helpers/test_comments.rb
+++ b/test/helpers/test_comments.rb
@@ -40,4 +40,15 @@ module TestComments
assert_equal expected_comments, oo.comments(oo.sheets.first), "comments error in class #{oo.class}"
end
end
+
+ def test_excel_comment_with_author
+ options = { name: "comments-with-author", format: [:excelx] }
+ expexted_comments = [
+ [6, 2, "Eli Wang:\ncomment with author"]
+ ]
+
+ with_each_spreadsheet(options) do |oo|
+ assert_equal expexted_comments, oo.comments(oo.sheets.first), "comments error in class #{oo.class}"
+ end
+ end
end