Commit Graph

925 Commits

Author SHA1 Message Date
Rasmus Jensen
3f4676bde1 more test-cases 2013-04-19 12:58:14 +02:00
Rasmus Jensen
7f9c57358c use opt instead of options; use bt instead of test_fragment 2013-04-19 12:39:45 +02:00
Rasmus Jensen
58bac2f623 merge 2013-04-19 12:31:03 +02:00
Rasmus Jensen
9497dc5865 rename --pad-in-paren to --space-in-paren 2013-04-19 12:27:34 +02:00
Liam Newman
bc62583fd5 Remove expand-strict and fix brace tests
While removing expand-strict, found that brace tests were uneven.
Made all tests appear for all three settings, and adjusted for each.
There are still some minor odd behaviors around empty braces, but they are
non-breaking.

Closes #236, #237
2013-04-19 00:28:10 -07:00
Rasmus Jensen
7ab458f487 tests 2013-04-18 08:39:11 +02:00
Rasmus Jensen
8d4e460259 Merge github.com:einars/js-beautify into e4x 2013-04-18 08:19:57 +02:00
Rasmus Jensen
aab53a7eb2 updated tests, such that e4x is off by default, and xml-literal is tested both with and without e4x option enabled 2013-04-18 08:18:54 +02:00
Liam Newman
fb071807a8 Test CLI missing file output for html and css 2013-04-16 10:04:47 -07:00
Liam Newman
79e7eea27c Python test shell script output for missing input file 2013-04-16 09:55:56 -07:00
Liam Newman
bf09af14e6 Typo fix in shell text 2013-04-14 17:15:04 -07:00
Liam Newman
9355d6a0a1 Clean up the shell smoke tests 2013-04-14 15:24:38 -07:00
Liam Newman
e91a12e551 Add shell smoke tests for node.js cli
First steps for #209
2013-04-13 18:59:19 -07:00
Rasmus Jensen
5bbad19a1c use output_space_before_token, instead of deprecated print_single_space 2013-04-12 11:44:31 +02:00
Rasmus Jensen
ee9c61b8bb bugfix: -h option did not work due to path of package.json not updated in cli.js 2013-04-12 11:38:52 +02:00
Rasmus Jensen
f8cda9cf13 padding space in paren 2013-04-12 11:36:20 +02:00
Rasmus Jensen
0036967763 option for ignoring e4x literals 2013-04-12 11:21:44 +02:00
Rasmus Jensen
e10042eecd test case 2013-04-12 11:13:01 +02:00
Liam Newman
44586d7a60 Add tweak to switch/case tests
Provide counter test using same inputs for jslint_happy = false.

Additional for #230, #213.
2013-04-10 16:40:17 -07:00
Mathieu Quinette
39275fc613 Add tests for jslint_happy switch/case. 2013-04-09 21:40:19 +02:00
Mathieu Quinette
0c29aaa902 close #213: jslint_happy option will make switch/case at same indent level. 2013-04-09 10:20:33 +02:00
Liam Newman
ddc44e65c4 Add $HOME to config chain
Most direct fix.

Closes #228.
2013-04-08 12:56:37 -07:00
Mathieu Quinette
9086a796d6 Use index so testj will error if pathway is incorrect. 2013-04-08 09:03:05 +02:00
Mathieu Quinette
11f2b5975f Fix path to beautify libs. 2013-04-07 09:16:04 +02:00
Liam Newman
9de057f94c Reorganize file structure by language/platform
Moved all files that are specifically for the website into web (except for index.htm)
Moved all files that are javascript (for node or web) into js
Organized js folder to generally follow node structures

This change also changes .npmignore to include unpackers in the package.
First step on #224.
2013-04-04 15:51:19 -07:00