diff options
Diffstat (limited to 'test/it.t')
-rwxr-xr-x | test/it.t | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -435,6 +435,10 @@ foreach ([$dummy, false, true, null, 1, "a", "Ä", "/", []] as $var) is(it::json_decode('{"foo":"bar"}')->foo, "bar"); is(it::json_decode('{"foo":"bar"}', ['assoc' => true])['foo'], "bar"); +#is(it::cdist(false), null); +#is(it::cdist("foo", false, "bar"), null); +is(it::cdist(null), true); +is(it::cdist(), true); is(it::sort(["2!","19!","1!"]), ["1!", "19!", "2!"]); is(it::sort(["2!","19!","1!"], "r"), ["2!", "19!", "1!"]); |