*** test/test_hikidoc.rb.old Sat Aug 8 10:05:15 2009 --- test/test_hikidoc.rb Mon Aug 10 02:20:41 2009 *************** *** 143,154 **** --- 143,166 ---- " foo\n bar") assert_convert("
foo\nbar\n", " foo\n bar\n") + assert_convert("
foo\n
bar\n", + " foo\n\n bar") assert_convert("
<foo>\n", "
{{_:a/a}}\n", " {{_:a/a}}") assert_convert("
[[_:a/a]]\n", " [[_:a/a]]") + assert_convert("
{{\na\n}}\n", + " {{\n a\n }}") + assert_convert("
{{\n
a\n}}
\n", + " {{\na\n}}") + end + + def test_pre_with_plugin + assert_convert("{{\n" + + "
foo\n
bar\n", "<<<\nfoo\n>>>\n<<<\nbar\n>>>") + assert_convert("
foo\n\nbar\n", + "<<<\nfoo\n\nbar\n>>>") assert_convert("
<foo>\n", "<<<\n
{{foo}}\n", + "<<<\n{{foo}}\n>>>") + assert_convert("
{{\n
foo}}
\n", + "<<<\n{{\n>>>\nfoo}}") + assert_convert(<<-END_OF_EXPECTED, <<-END_OF_INPUT) +{{<<TEST + test + TEST}}+ END_OF_EXPECTED + <<< + {{<
{{{}}}\n" + "
{{\n" + + "