diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-06-18 17:12:05 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-06-18 17:12:05 -0700 |
commit | 2132725af047e02248679f8ac5f2b625a01a1e72 (patch) | |
tree | 0f62f014892784ae45a5bd4ceb559ca1f8d07272 | |
parent | 93f1c7704be12993a0557e6fa99a2b484bbc2a24 (diff) |
try to fix test_argv0_node for windows
-rw-r--r-- | tests/test_other.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_other.py b/tests/test_other.py index 5e631b41..f8b9d027 100644 --- a/tests/test_other.py +++ b/tests/test_other.py @@ -2902,5 +2902,5 @@ int main(int argc, char **argv) { ''') Popen([PYTHON, EMCC, 'code.cpp']).communicate() - self.assertContained('I am ' + self.get_dir() + '/a.out.js', run_js('a.out.js', engine=NODE_JS)) + self.assertContained('I am ' + self.get_dir().replace('\\', '/') + '/a.out.js', run_js('a.out.js', engine=NODE_JS)) |