summaryrefslogtreecommitdiff
path: root/tests/it.t
diff options
context:
space:
mode:
authorChristian Helbling2015-11-16 15:20:03 +0100
committerChristian Helbling2015-11-16 15:20:03 +0100
commit2587921cdf5f9139c6f2483dddb12df27740fef5 (patch)
treeb67941b93eda2490800efafd1f5410bdd754bf16 /tests/it.t
parentbabb09e211e93c6236bc19e60a4f649e573a6f4e (diff)
parent3b4aeabd9186666e025d3233f06f7458356bfc37 (diff)
downloaditools-2587921cdf5f9139c6f2483dddb12df27740fef5.tar.gz
itools-2587921cdf5f9139c6f2483dddb12df27740fef5.tar.bz2
itools-2587921cdf5f9139c6f2483dddb12df27740fef5.zip
Merge branch 'master' into cs/php7
Diffstat (limited to 'tests/it.t')
-rwxr-xr-xtests/it.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/it.t b/tests/it.t
index 10c4d0e..33a6c13 100755
--- a/tests/it.t
+++ b/tests/it.t
@@ -393,3 +393,7 @@ is(it::any2utf8(array(utf8_decode('Müller') => utf8_decode('Müller'))), array(
foreach (array($dummy, false, true, null, 1, "a", "Ä", "/", array()) as $var)
is(it::json_decode(it::json_encode($var)), $var);
+
+is(it::sort(array("2!","19!","1!")), array("1!", "19!", "2!"));
+is(it::sort(array("2!","19!","1!"), "r"), array("2!", "19!", "1!"));
+is(it::sort(array("2!","19!","1!"), "rn"), array("19!", "2!", "1!"));