aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index db8d3637..31145a9f 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -4201,6 +4201,7 @@ Child2:9
src = open(filename + '.cc.js', 'r').read()
assert re.search('function \w\(', src) # see before
assert 'function _main()' not in src # closure should have wiped it out
+ shutil.move(filename, filename + '.old.js')
open(filename, 'w').write(src)
self.do_run(src, '*closured*\ndata: 100,1,50,25\n', post_build=post)