aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-11-22 19:04:57 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-11-22 19:04:57 -0800
commit5c2478fda3bd1bf384161d8080a5acb80d62b5d4 (patch)
tree60b1b0b51c88b6831da87cdaf9944a1adb9b88fe /tests/runner.py
parent8999afc2729f90b080f89553c9bbb1637fcf2a00 (diff)
test fixes for |other|
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 8c098207..480e77ae 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -4479,7 +4479,7 @@ TT = %s
def test_js_optimizer(self):
input = open(path_from_root('tools', 'test-js-optimizer.js')).read()
expected = open(path_from_root('tools', 'test-js-optimizer-output.js')).read()
- output = Popen([NODE_JS, JS_OPTIMIZER], stdin=PIPE, stdout=PIPE).communicate(input)[0]
+ output = Popen([NODE_JS, JS_OPTIMIZER, 'unGlobalize', 'removeAssignsToUndefined'], stdin=PIPE, stdout=PIPE).communicate(input)[0]
self.assertIdentical(expected, output.replace('\n\n', '\n'))
else: