Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-08-14 | Test reparsing test/compress/*.js output | kzc | |
2016-06-19 | Respect quote style in object literals | Shrey Banga | |
The option added in fbbaa42ee55a7f753f7cab9b1a905ccf73cf26d5 wasn't being respected inside object literals, so quoted property names would still be stripped out with this option. This is mostly a corner-case, but useful when the output is passed to something like the Closure compiler, where quoted property names can be used to prevent mangling. | |||
2016-06-19 | Don't mix strings with directives in output | Anthony Van de Gejuchte | |
* Don't interpret strings with escaped content as directive * Don't interpret strings after empty statement as directive * Adapt output to prevent strings being represent as directive * Introduce UGLIFY_DEBUG to allow internal testing like EXPECT_DIRECTIVE | |||
2016-06-09 | Catch errors when compression test fails to parse | Anthony Van de Gejuchte | |
2016-05-04 | Fix regression causing tests to fail on windows | Anthony Van de Gejuchte | |
2016-04-19 | Add `passes` compress option. Fix duplicate compress warnings. | kzc | |
2016-04-12 | Add base54.reset() to compress tests | Richard van Velzen | |
Without this reset, char counts bleed to next tests. One test had a bad expect clause. | |||
2016-04-11 | Fix warnings for referenced non-hoisted functions. | kzc | |
Fixes #1034 Also added `expect_warnings` functionality to test framework. | |||
2016-01-14 | Never mangle arguments and keep them in their scope | Anthony Van de Gejuchte | |
Fixes #892 Helped-by: kzc | |||
2015-12-27 | Add mocha tests | Anthony Van de Gejuchte | |
2015-11-12 | Replace util.error with console.log | Mihai Bazon | |
2015-10-28 | Allow specification beautify options in tests | Richard van Velzen | |
Caught an error in #847 as well - `output` wasn't passed anywhere which led to an exception. `options` was available though. | |||
2015-10-20 | Fix #836 | Fábio Santos | |
2015-10-12 | Fix tests | Mihai Bazon | |
2015-08-05 | Fix mangling of property names which overwrite unmangleable properties | Richard van Velzen | |
Fixes #747. | |||
2015-07-29 | Replace util.puts in run-tests with console.log | Richard van Velzen | |
See d2dda34b2a8de310f26a26e58ed28275ba5ecc7f | |||
2015-04-14 | Added expect_exact for testing the OutputStream | Fábio Santos | |
This works almost exactly like `expect`, except that you pass a literal string of which the result is compared with the generated output. | |||
2014-08-03 | Added generative testing for AST conversions. | Ingvar Stepanyan | |
2013-10-27 | Display number of failed tests and corresponding files | Mihai Bazon | |
2013-10-23 | Add an exit code to the test suite | Richard van Velzen | |
By adding the exit code 1 (or any other non-zero exit code) `npm test` will know the tests didn't perform correctly. This way it's easier to know if pull requests are good or bad. | |||
2012-10-18 | more optimizations for some break/continue cases | Mihai Bazon | |
2012-10-13 | disable warnings in the test suite | Mihai Bazon | |
2012-10-13 | drop unused function arguments | Mihai Bazon | |
also add test for "drop_unused" (the last one fails for now) | |||
2012-10-03 | AST cleanup (dropped AST_StatementBase) | Mihai Bazon | |
2012-09-26 | removed the "squeeze" method (it's now effectively "transform") | Mihai Bazon | |
2012-09-24 | minor tests fix | Mihai Bazon | |
2012-09-12 | fixed run-tests and an issue about reversing the condition in AST_If | Mihai Bazon | |
2012-09-07 | checkpoint | Mihai Bazon | |
2012-09-07 | always keep declarations found in unreachable code | Mihai Bazon | |
a few more tests and some cleanups. | |||
2012-09-07 | fixed tests (need to drop the toplevel block in "expected" if it's a single ↵ | Mihai Bazon | |
statement) | |||
2012-09-03 | a LabeledStatement should be in fact a StatementWithBody | Mihai Bazon | |
This fixes output for: if (foo) { moo: if (bar) { break moo; } } else { baz(); } (the labeled statement must be outputted inside brackets) | |||
2012-08-27 | minor | Mihai Bazon | |
2012-08-22 | wrote more of the compressor and added some tests | Mihai Bazon | |