diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-03-20 23:34:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-20 23:34:56 +0100 |
commit | a88aca97633c2ec58987a76a5a8d910c37680e07 (patch) | |
tree | dee32d4bba166995bdb32d4cf8f1fcad8bcead4d /tests/custom/03_stdlib | |
parent | 807060a5d2d40113d9d78bf9e3866efb3de4c442 (diff) | |
parent | ab46fdfe742e754a8a56207ce1fc5653085696ad (diff) |
Merge pull request #52 from jow-/portability-fixes
Portability fixes for macOS
Diffstat (limited to 'tests/custom/03_stdlib')
-rw-r--r-- | tests/custom/03_stdlib/16_sort | 2 |
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) |