diff --git a/t/toc.t b/t/toc.t index c9cf1ff4..f73d061a 100644 --- a/t/toc.t +++ b/t/toc.t @@ -18,7 +18,7 @@ require 't/test.pl'; package OddMuse; -use Test::More tests => 23; +use Test::More tests => 24; clear_pages(); @@ -36,6 +36,16 @@ run_tests(split('\n',<<'EOT'));

make honey

Moo.

make honey

Moo.

EOT +test_page(update_page('toc', "bla\n" + . "\n" + . "murks\n" + . "==two=\n" + . "bla\n" + . "===three==\n" + . "bla\n" + . "=one=\n"), + quotemeta('
')); + test_page(update_page('toc', "bla\n" . "=one=\n" . "blarg\n"