Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
basbloemsaat committed Jan 13, 2016
1 parent 5eda603 commit 6f74b4e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion t/02-io.t
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ my $html_input = <<EOT;
EOT

my $html_expected = '<script>alert(\'test\');</script><br><img src="/bild.jpg" alt="hmpf"> <a href="/">link 1 </a> <a href="/"> link 2 </a>';
my $html_expected = '<script>alert(\'test\');</script> <br> <img src="/bild.jpg" alt="hmpf"> <a href="/">link 1 </a> <a href="/"> link 2 </a>';
my $html_expected_no_js = '<script>/*<![CDATA[*/' . "\n\n\n\n " . 'alert(\'test\');/*]]>*/</script><br><img src="/bild.jpg" alt="hmpf"> <a href="/">link 1 </a> <a href="/"> link 2 </a>';

my $not = 11;
Expand Down
2 changes: 1 addition & 1 deletion t/html/s2-expected.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<a href="/">link 1 </a><!-- comment --><a href="/"> link 2 </a>
<span>bla</span> <span>bla</span> <a href="/">link 1 </a><!-- comment --><a href="/"> link 2 </a>
3 changes: 2 additions & 1 deletion t/html/s2.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

<span>bla</span>
<span>bla</span>

<a href="/" >link

Expand Down

0 comments on commit 6f74b4e

Please sign in to comment.