From ab93a62f11ba31889e022c341d9f1b6b1bd99ea7 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Mon, 20 Aug 2012 13:01:17 +0000 Subject: test null argument behaviour --- tests/it_html.t | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/it_html.t') 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), "
\n", "table() null argument"); list($data, $attr) = it_parse_args(array(null)); ok($data === "", "it_parse_args compatiblity: treat null like empty string"); -- cgit v1.2.3