From df623e7324c0a4d327f554502ad2a6c64b3702fd Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Fri, 17 Aug 2012 14:18:11 +0000 Subject: it_parse_args compatiblity: treat null like empty string --- tests/it_html.t | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/it_html.t b/tests/it_html.t index fce4fc6..6ed59d8 100755 --- a/tests/it_html.t +++ b/tests/it_html.t @@ -200,6 +200,8 @@ is(it_html::entity_decode("J"), "J"); is(it_html::entity_decode("J"), "J"); is(it_html::entity_decode("A"), "A"); +list($data, $attr) = it_parse_args(array(null)); +ok($data === "", "it_parse_args compatiblity: treat null like empty string"); # # check transliterations in iso-8859-1 -- cgit v1.2.3