test/test_markdownbuilder.rb in review-2.0.0 vs test/test_markdownbuilder.rb in review-2.1.0
- old
+ new
@@ -137,6 +137,12 @@
def test_table
actual = compile_block("//table{\ntestA\ttestB\n------------\ncontentA\tcontentB\n//}\n")
assert_equal "|testA|testB|\n|:--|:--|\n|contentA|contentB|\n\n", actual
end
+
+ def test_ruby
+ actual = compile_block("@<ruby>{謳,うた}い文句")
+ assert_equal "<ruby><rb>謳</rb><rp>(</rp><rt>うた</rt><rp>)</rp></ruby>い文句\n\n", actual
+ end
+
end