summaryrefslogtreecommitdiff
path: root/test/encodechar.myr
diff options
context:
space:
mode:
Diffstat (limited to 'test/encodechar.myr')
-rw-r--r--test/encodechar.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/encodechar.myr b/test/encodechar.myr
index 9cc3385..f7da629 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.bychar(s)
+ for c : std.bychar(s)
foo = c
if std.encode(buf[:std.charlen(c)], c) == 0
std.write(1, "couldn't encode\n")