diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-10-09 13:22:24 -0400 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-09 13:22:24 -0400 |
commit | 028a3210fc61df40fae2854be6ad8b65e49ba633 (patch) | |
tree | 7ca87e0f4137cc520ffb6b7c7359adfec8380780 /tests | |
parent | e10ee6c5cb0aa89bbae465a1e667a03c0e13aa39 (diff) |
avoid X-(-Y) in js optimizer; fixes #1685
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_other.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_other.py b/tests/test_other.py index 81221229..d4a5bb3a 100644 --- a/tests/test_other.py +++ b/tests/test_other.py @@ -1645,6 +1645,8 @@ f.close() ['asm', 'outline']), (path_from_root('tools', 'test-js-optimizer-asm-outline3.js'), open(path_from_root('tools', 'test-js-optimizer-asm-outline3-output.js')).read(), ['asm', 'outline']), + (path_from_root('tools', 'test-js-optimizer-asm-minlast.js'), open(path_from_root('tools', 'test-js-optimizer-asm-minlast-output.js')).read(), + ['asm', 'minifyWhitespace', 'last']), ]: print input output = Popen(listify(NODE_JS) + [path_from_root('tools', 'js-optimizer.js'), input] + passes, stdin=PIPE, stdout=PIPE).communicate()[0] |