summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2012-08-17 14:18:11 +0000
committerUrban Müller2012-08-17 14:18:11 +0000
commitdf623e7324c0a4d327f554502ad2a6c64b3702fd (patch)
tree1796eee177bf5dc743782f69c269c2d2178eee87
parent48e365e0a29ca31776b36ffcf6a692aa490d990f (diff)
downloaditools-df623e7324c0a4d327f554502ad2a6c64b3702fd.tar.gz
itools-df623e7324c0a4d327f554502ad2a6c64b3702fd.tar.bz2
itools-df623e7324c0a4d327f554502ad2a6c64b3702fd.zip
it_parse_args compatiblity: treat null like empty string
-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 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