Skip to content

Commit

Permalink
Merge pull request #627 from kmuto/topbuilder_comment
Browse files Browse the repository at this point in the history
TOPBuilder: add a test for `@<comment>{}` in draft mode
  • Loading branch information
takahashim committed May 3, 2016
2 parents 55673ab + ebd44a4 commit 421788c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/test_topbuilder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,12 @@ def test_inline_comment
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
Expand Down

0 comments on commit 421788c

Please sign in to comment.