"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "wml_test/t/std-toc.t" between
wml-2.28.0.tar.xz and wml-2.30.0.tar.xz

About: WML (Website META Language) is an extensible Webdesigner’s off-line HTML generation toolkit.

std-toc.t  (wml-2.28.0.tar.xz):std-toc.t  (wml-2.30.0.tar.xz)
use strict; use strict;
use warnings; use warnings;
use WmlTest; use WmlTest ();
WmlTest::init(); WmlTest::init();
use Test::More tests => 4; use Test::More tests => 4;
my $pass = "1-9";
# TEST*2 # TEST*2
WmlTest::generic( $pass, <<'EOT_IN', <<'EOT_OUT', '' ); WmlTest::all_passes( <<'EOT_IN', <<'EOT_OUT', '' );
#use wml::std::toc style=pre #use wml::std::toc style=pre
<h1>Chapter 1</h1> <h1>Chapter 1</h1>
<h2>Section 1</h2> <h2>Section 1</h2>
<h2>Section 2</h2> <h2>Section 2</h2>
<h1>Chapter 2</h1> <h1>Chapter 2</h1>
<h2>Section 1</h2> <h2>Section 1</h2>
<h2>Section 2</h2> <h2>Section 2</h2>
<toc> <toc>
EOT_IN EOT_IN
<h1><a name="ToC1">Chapter 1</a></h1> <h1><a name="ToC1">Chapter 1</a></h1>
skipping to change at line 39 skipping to change at line 37
<a href="#ToC1"><strong>Chapter 1</strong></a> <a href="#ToC1"><strong>Chapter 1</strong></a>
<a href="#ToC2"><strong>Section 1</strong></a> <a href="#ToC2"><strong>Section 1</strong></a>
<a href="#ToC3"><strong>Section 2</strong></a> <a href="#ToC3"><strong>Section 2</strong></a>
<a href="#ToC4"><strong>Chapter 2</strong></a> <a href="#ToC4"><strong>Chapter 2</strong></a>
<a href="#ToC5"><strong>Section 1</strong></a> <a href="#ToC5"><strong>Section 1</strong></a>
<a href="#ToC6"><strong>Section 2</strong></a> <a href="#ToC6"><strong>Section 2</strong></a>
</pre> </pre>
EOT_OUT EOT_OUT
# TEST*2 # TEST*2
WmlTest::generic( $pass, <<'EOT_IN', <<'EOT_OUT', '' ); WmlTest::all_passes( <<'EOT_IN', <<'EOT_OUT', '' );
#use wml::std::toc style=ol type=A1a #use wml::std::toc style=ol type=A1a
<h1>Chapter 1</h1> <h1>Chapter 1</h1>
<h2>Section 1</h2> <h2>Section 1</h2>
<h3>Subsection 1</h3> <h3>Subsection 1</h3>
<h3>Subsection 2</h3> <h3>Subsection 2</h3>
<h2>Section 2</h2> <h2>Section 2</h2>
<toc> <toc>
EOT_IN EOT_IN
<h1><a name="ToC1">Chapter 1</a></h1> <h1><a name="ToC1">Chapter 1</a></h1>
<h2><a name="ToC2">Section 1</a></h2> <h2><a name="ToC2">Section 1</a></h2>
 End of changes. 4 change blocks. 
5 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)