test/test_rstbuilder.rb in review-2.2.0 vs test/test_rstbuilder.rb in review-2.3.0

- old
+ new

@@ -148,9 +148,14 @@ def test_inline_in_table actual = compile_block("//table{\n★1☆\t▲2☆\n------------\n★3☆\t▲4☆<>&\n//}\n") assert_equal %Q| * - ★1☆\n - ▲2☆\n * - ★3☆\n - ▲4☆<>&\n\n|, actual end + def test_emtable + actual = compile_block("//emtable[foo]{\nA\n//}\n//emtable{\nA\n//}") + assert_equal %Q|.. list-table:: foo\n :header-rows: 1\n\n * - A\n\n * - A\n\n|, actual + end + def test_paragraph actual = compile_block("foo\nbar\n") assert_equal %Q|foobar\n\n|, actual end