From ad7e32c92cd34e252902b1e2615791e2111b07ea Mon Sep 17 00:00:00 2001 From: Jacques Distler Date: Tue, 1 Jun 2010 09:22:37 -0500 Subject: [PATCH] Tests for Revision 644 --- test/unit/page_renderer_test.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/test/unit/page_renderer_test.rb b/test/unit/page_renderer_test.rb index 9dd6acd6..d1e5e13c 100644 --- a/test/unit/page_renderer_test.rb +++ b/test/unit/page_renderer_test.rb @@ -209,6 +209,20 @@ END_THM "ecuasi\303\263n $\\sin(x)$") end + + def test_ial_in_lists + + assert_markup_parsed_as( + "", + "* item 1\n* {: style=\"color:red\"} item 2\n* item 3\n continues here\n") + + assert_markup_parsed_as( + "
    \n
  1. item 1
  2. \n\n
  3. " + + "item 2
  4. \n\n
  5. item 3 continues here
  6. \n
", + "1. item 1\n2. {: value=\"10\"} item 2\n13. item 3\n continues here\n{: start=\"4\"}") + + end def test_have_latest_itex2mml