summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNathan Gass2012-10-10 13:49:18 +0000
committerNathan Gass2012-10-10 13:49:18 +0000
commit90cf156efacfbe84808cca243b1b2a955f6c4f10 (patch)
tree506c8686b9eeeb71fe53c724c0a2ee71d3178503 /tests
parentc17e84f438be473ff6d13a1f6ddef1dd876cb2f2 (diff)
downloaditools-90cf156efacfbe84808cca243b1b2a955f6c4f10.tar.gz
itools-90cf156efacfbe84808cca243b1b2a955f6c4f10.tar.bz2
itools-90cf156efacfbe84808cca243b1b2a955f6c4f10.zip
implement myimg in myhtml to have same behaviour with or without fasttag
Diffstat (limited to 'tests')
-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 c91b54c..bc3f8e5 100755
--- a/tests/it_html.t
+++ b/tests/it_html.t
@@ -121,9 +121,9 @@ function myhtml($p = array())
function myimg($args)
{
- array_unshift($args, array('alt' => "ALT", 'bar' => "BAR"));
+ array_unshift($args, array('alt' => "ALT", 'bar' => "BAR"));
- return parent::img($args);
+ return parent::img(array_filter(it_parse_args($args)));
}
}