diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-01-16 15:53:16 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-01-16 15:53:16 -0800 |
commit | 7f073162184b1fa510ff88c79df608d0279a6073 (patch) | |
tree | 525ddaaa0d393b6eb277134d21008c50e8176365 /tests/runner.py | |
parent | b692a5ad577473a47e8e7e626171ffc0a0bfbb08 (diff) |
fix test_utf
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index 6e76d061..6f4bee26 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -5514,7 +5514,7 @@ def process(filename): int main() { char *c = "μ†ℱ ╋ℯ╳╋"; printf("%d %d %d %d %s\n", c[0]&0xff, c[1]&0xff, c[2]&0xff, c[3]&0xff, c); - emscripten_run_script("cheez = Module._malloc(100);" + emscripten_run_script("cheez = _malloc(100);" "Module.writeStringToMemory(\"μ†ℱ ╋ℯ╳╋\", cheez);" "Module.print([Pointer_stringify(cheez), Module.getValue(cheez, 'i8')&0xff, Module.getValue(cheez+1, 'i8')&0xff, Module.getValue(cheez+2, 'i8')&0xff, Module.getValue(cheez+3, 'i8')&0xff, ]);"); } |