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.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/test/striter.myr b/lib/std/test/striter.myr
index 2684f8d..90b38ed 100644
--- a/lib/std/test/striter.myr
+++ b/lib/std/test/striter.myr
@@ -6,13 +6,13 @@ const main = {
var i
i = 0
- for c in std.bychar("abc")
+ for c : std.bychar("abc")
std.assert(chars[i++] == c, "wrong char")
;;
std.assert(i == chars.len, "wrong split count")
i = 0
- for sp in std.bysplit("foo+++bar", "++")
+ for sp : std.bysplit("foo+++bar", "++")
std.assert(std.streq(splits[i++], sp), "wrong split {}", sp)
;;
std.assert(i == splits.len, "wrong split count")