summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tests/custom/03_stdlib/16_sort2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/custom/03_stdlib/16_sort b/tests/custom/03_stdlib/16_sort
index ccc235f..ac4a0e1 100644
--- a/tests/custom/03_stdlib/16_sort
+++ b/tests/custom/03_stdlib/16_sort
@@ -31,7 +31,7 @@ Returns `null` if the given input array value is not an array.
let t1 = type(a), t2 = type(b);
if (t1 < t2)
return -1;
- else if (t2 > t2)
+ else if (t1 > t2)
return 1;
if (a < b)