summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-01-09 00:27:50 -0800
committerOri Bernstein <ori@eigenstate.org>2016-01-09 00:28:06 -0800
commit26d2752901f380a5ea22935f49e58e29f404a54a (patch)
tree784fce09751ca29119ad638b1a9c30f090057b91 /test
parent88d5948ca08c649e6bd78ae8e634a8c57e53f316 (diff)
downloadmc-26d2752901f380a5ea22935f49e58e29f404a54a.tar.gz
Chariter => bychar
Diffstat (limited to 'test')
-rw-r--r--test/encodechar.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/encodechar.myr b/test/encodechar.myr
index ed1fda7..9cc3385 100644
--- a/test/encodechar.myr
+++ b/test/encodechar.myr
@@ -11,7 +11,7 @@ const chartypes = {
var buf : byte[32]
s = "1世界äa\n"
- for c in std.chariter(s)
+ for c in std.bychar(s)
foo = c
if std.encode(buf[:std.charlen(c)], c) == 0
std.write(1, "couldn't encode\n")