summaryrefslogtreecommitdiff
path: root/lib/std/test/sort.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@markovcorp.com>2018-01-27 12:22:19 -0800
committerOri Bernstein <ori@markovcorp.com>2018-01-27 12:23:36 -0800
commit4c94aae21c2c2aec19d4fd5871cfe92bc09303a7 (patch)
treeb7c773a2274cb3b3ee46d9e90d54a3b6c4ddce37 /lib/std/test/sort.myr
parentdbe9ae0f9dbed30d40952261384b4673766d83ca (diff)
downloadmc-4c94aae21c2c2aec19d4fd5871cfe92bc09303a7.tar.gz
Remove std.sleq
We have std.eq. We still export a generic sleq for compatibility, but we don't need it or want it.
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")
;;
}