summaryrefslogtreecommitdiff
path: root/lib/std/test/striter.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/test/striter.myr')
-rw-r--r--lib/std/test/striter.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/test/striter.myr b/lib/std/test/striter.myr
index 8a4397e..b54e580 100644
--- a/lib/std/test/striter.myr
+++ b/lib/std/test/striter.myr
@@ -13,7 +13,7 @@ const main = {
i = 0
for sp : std.bysplit("foo+++bar", "++")
- std.assert(std.cmp(splits[i++], sp), "wrong split {}", sp)
+ std.assert(std.eq(splits[i++], sp), "wrong split {}", sp)
;;
std.assert(i == splits.len, "wrong split count")
}