diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/it_html.t | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/it_html.t b/tests/it_html.t index 8a8aed6..592fffe 100755 --- a/tests/it_html.t +++ b/tests/it_html.t @@ -15,13 +15,13 @@ is( is( div(), "<div></div>\n", - "empty script tag" + "empty div tag" ); is( - img(array('src' => "foo.png", 'alt' => "")), - '<img src="foo.png" alt="">', - "empty link tag" + img(array('src' => "foo.png", 'alt' => "ALT")), + '<img src="foo.png" alt="ALT">', + "img tag with attributes" ); is( @@ -45,7 +45,7 @@ is( is( it::replace(array('\n+\s*' => ""), select(array('name' => "gna"), array("1" => "foo", "2" => 'bar', '1,2' => "qux"), '1,2')), '<select name="gna"><option value="1">foo</option><option value="2">bar</option><option value="1,2" selected>qux</option></select>', - "link tag without multiselect" + "select tag without multiselect" ); # XML generation |