summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorUrban Müller2012-08-20 13:01:17 +0000
committerUrban Müller2012-08-20 13:01:17 +0000
commitab93a62f11ba31889e022c341d9f1b6b1bd99ea7 (patch)
tree6ea468a361b3ac1dba1c7ad46186ff6f6f5f6059 /tests
parent0f11d3ba3965eb202329c00bd8a5500c19b7ba73 (diff)
downloaditools-ab93a62f11ba31889e022c341d9f1b6b1bd99ea7.tar.gz
itools-ab93a62f11ba31889e022c341d9f1b6b1bd99ea7.tar.bz2
itools-ab93a62f11ba31889e022c341d9f1b6b1bd99ea7.zip
test null argument behaviour
Diffstat (limited to 'tests')
-rwxr-xr-xtests/it_html.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/it_html.t b/tests/it_html.t
index 40cbfc5..c91b54c 100755
--- a/tests/it_html.t
+++ b/tests/it_html.t
@@ -198,6 +198,8 @@ is(it_html::entity_decode("J"), "J");
is(it_html::entity_decode("J"), "J");
is(it_html::entity_decode("A"), "A");
+# tests for itools extension
+is(table(null), "<table></table>\n", "table() null argument");
list($data, $attr) = it_parse_args(array(null));
ok($data === "", "it_parse_args compatiblity: treat null like empty string");