diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-01-18 18:26:19 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-01-18 18:26:19 -0800 |
commit | fa70d238fca62dc3f7b1aefa8f0bf8c6dc337eea (patch) | |
tree | 831265df8ac384e2a10617878fe792f8e7409886 /tests | |
parent | fd08013827a5fec461b374b9e0605b4ebabf7fe1 (diff) |
improve EM_ASM to tolerate quotes when safe, and error when not; fixes #2032
Diffstat (limited to 'tests')
-rw-r--r-- | tests/core/test_inlinejs3.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core/test_inlinejs3.in b/tests/core/test_inlinejs3.in index 3e1913ff..e21ed041 100644 --- a/tests/core/test_inlinejs3.in +++ b/tests/core/test_inlinejs3.in @@ -3,7 +3,7 @@ int main(int argc, char **argv) { EM_ASM(Module.print('hello dere1')); - EM_ASM(Module.print('hello dere2');); + EM_ASM("Module.print('hello dere2');"); for (int i = 0; i < 3; i++) { EM_ASM(Module.print('hello dere3'); Module.print('hello dere' + 4);); } |