Created nodeunit test suite from examples. Added additional required …
Renamed examples to simple as these are no longer examples
Renamed tests, added new failing test for linebreak option
Added linebreak option and supporting tests
emoved unnecessary nodeunit help comment
+1 would be awesome to get this released. Hopefully the addition of a test suite should increase confidence in the PR and make merging the other PRs less painful.
Any timeline on getting this released? This is blocking the next release of our own project which is moving to using grunt-yui-compressor but needs the linebreak option.
@alexanderdean I’ll have to review this first. For now you could just point to @fblundun’s fork directly in your package.json – see https://npmjs.org/doc/json.html#Git-URLs-as-Dependencies.
I didn't know that was possible - thanks @mathiasbynens !
@fblundun - it looks like test/yui_compressor_test.js has incorrect whitespace & indentation - could you change from spaces to tabs and check indentation.
Changed tests to use tabs rather than spaces
Hi @mathiasbynens , any news on getting this feature merged?
👍 I'd also like this feature to be added, it's sorely missing :)