diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-11-28 16:28:40 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-11-28 16:28:40 -0800 |
commit | d8560636869ccc14703b781da33764131dd21fa6 (patch) | |
tree | 4a9502efab5b5d1f4895eb811cb78a5e711b3f1e /tests/runner.py | |
parent | 30f27aa86bdfdc92645f949ace36eefd6053b6cb (diff) |
fix for test_closure_compiler with spidermonkey as compiler engine
Diffstat (limited to 'tests/runner.py')
-rw-r--r-- | tests/runner.py | 1 |
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) |