summaryrefslogtreecommitdiff
path: root/tests/it_html.t
diff options
context:
space:
mode:
authorUrban Müller2009-08-20 12:38:08 +0000
committerUrban Müller2009-08-20 12:38:08 +0000
commit9f92541c0dd856f8ffe6e956ebe76bff33eade0f (patch)
tree5542f90e40e036e258ba536f10a4783bf5e23879 /tests/it_html.t
parent685d9970cc58adc93500058215ae6c9337790a59 (diff)
downloaditools-9f92541c0dd856f8ffe6e956ebe76bff33eade0f.tar.gz
itools-9f92541c0dd856f8ffe6e956ebe76bff33eade0f.tar.bz2
itools-9f92541c0dd856f8ffe6e956ebe76bff33eade0f.zip
enforce img alt
Diffstat (limited to 'tests/it_html.t')
-rwxr-xr-xtests/it_html.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/it_html.t b/tests/it_html.t
index 75a8c69..8a8aed6 100755
--- a/tests/it_html.t
+++ b/tests/it_html.t
@@ -19,8 +19,8 @@ is(
);
is(
- img(array('src' => "foo.png")),
- '<img src="foo.png">',
+ img(array('src' => "foo.png", 'alt' => "")),
+ '<img src="foo.png" alt="">',
"empty link tag"
);