diff options
author | Urban Müller | 2012-08-17 14:18:11 +0000 |
---|---|---|
committer | Urban Müller | 2012-08-17 14:18:11 +0000 |
commit | df623e7324c0a4d327f554502ad2a6c64b3702fd (patch) | |
tree | 1796eee177bf5dc743782f69c269c2d2178eee87 | |
parent | 48e365e0a29ca31776b36ffcf6a692aa490d990f (diff) | |
download | itools-df623e7324c0a4d327f554502ad2a6c64b3702fd.tar.gz itools-df623e7324c0a4d327f554502ad2a6c64b3702fd.tar.bz2 itools-df623e7324c0a4d327f554502ad2a6c64b3702fd.zip |
it_parse_args compatiblity: treat null like empty string
-rwxr-xr-x | tests/it_html.t | 2 |
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 |