summaryrefslogtreecommitdiff
path: root/lib/std/test/sort.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/test/sort.myr')
-rw-r--r--lib/std/test/sort.myr6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/std/test/sort.myr b/lib/std/test/sort.myr
index e814623..61e39ae 100644
--- a/lib/std/test/sort.myr
+++ b/lib/std/test/sort.myr
@@ -12,16 +12,16 @@ const main = {
/* with custom intcmp */
std.sort(a[:], intcmp)
- std.assert(std.sleq(a[:], a_sorted[:]), "a was missorted")
+ std.assert(std.eq(a[:], a_sorted[:]), "a was missorted")
/* with libstd generic numcmp */
std.sort(b[:], std.numcmp)
- std.assert(std.sleq(b[:], b_sorted[:]), "b was missorted")
+ std.assert(std.eq(b[:], b_sorted[:]), "b was missorted")
/* string sorting */
std.sort(c[:], std.strcmp)
for i = 0; i < c.len; i++
- std.assert(std.sleq(c[i], c_sorted[i]), "c was missorted")
+ std.assert(std.eq(c[i], c_sorted[i]), "c was missorted")
;;
}