test/test_topbuilder.rb in review-2.0.0 vs test/test_topbuilder.rb in review-2.1.0

- old
+ new

@@ -132,9 +132,20 @@ def test_inline_uchar actual = compile_inline("test @<uchar>{2460} test2") assert_equal %Q|test ① test2|, actual end + def test_inline_comment + actual = compile_inline("test @<comment>{コメント} test2") + assert_equal %Q|test test2|, actual + end + + def test_inline_comment_for_draft + @config["draft"] = true + actual = compile_inline("test @<comment>{コメント} test2") + assert_equal %Q|test ◆→DTP連絡:コメント←◆ test2|, actual + end + def test_inline_in_table actual = compile_block("//table{\n★1☆\t▲2☆\n------------\n★3☆\t▲4☆<>&\n//}\n") assert_equal %Q|★★1☆☆\t★▲2☆☆\n★3☆\t▲4☆<>&\n◆→終了:表←◆\n\n|, actual end