2 use warnings FATAL => 'all';
3 use Test::More qw(no_plan);
10 <title>Default Title</title>
22 <p id="p2">Is the Time</p>
28 ->replace_content('Hello World')
30 ->replace_content($body)
32 ->set_attribute(class=>'main')
34 ->set_attribute(class=>'para')
36 ->set_attribute(class=>'para2')
43 <title>Hello World</title>
45 <body class="main"><div id="stuff">
46 <p class="para">Well Now</p>
47 <p id="p2" class="para2">Is the Time</p>
52 is($output, $expect, 'Synopsis code works ok');