prettier/tests/node_tests
Christopher Chedeau 789a3029f4 Remove +1 from newline detection (#261)
* Remove +1 from newline detection

All the changes are related to spurious `;`. Sometimes the logic is more correct, sometimes less. Since `;` are going to be removed after the first save, I don't think it matters that much.

* Handle inconsistent `end` node locations when looking for newlines
2017-01-17 22:33:55 -05:00
..
assert Regenerate snapshots 2017-01-11 10:16:38 -05:00
basic Regenerate snapshots 2017-01-11 10:16:38 -05:00
basic_file Regenerate snapshots 2017-01-11 10:16:38 -05:00
basic_node_modules Regenerate snapshots 2017-01-11 10:16:38 -05:00
basic_node_modules_with_path Regenerate snapshots 2017-01-11 10:16:38 -05:00
basic_package Regenerate snapshots 2017-01-11 10:16:38 -05:00
buffer Preserve the way numbers were written (#257) 2017-01-16 23:01:51 -05:00
child_process Minimize string escapes 2017-01-12 07:44:16 -08:00
crypto Remove +1 from newline detection (#261) 2017-01-17 22:33:55 -05:00
fs Remove +1 from newline detection (#261) 2017-01-17 22:33:55 -05:00
json_file Remove +1 from newline detection (#261) 2017-01-17 22:33:55 -05:00
os Remove +1 from newline detection (#261) 2017-01-17 22:33:55 -05:00
package_file Regenerate snapshots 2017-01-11 10:16:38 -05:00
package_file_node_modules/foo Regenerate snapshots 2017-01-11 10:16:38 -05:00
path_node_modules Regenerate snapshots 2017-01-11 10:16:38 -05:00
path_node_modules_with_short_main Regenerate snapshots 2017-01-11 10:16:38 -05:00
path_node_modules_without_main Regenerate snapshots 2017-01-11 10:16:38 -05:00
path_package Regenerate snapshots 2017-01-11 10:16:38 -05:00
stream Add newline for empty blocks {} (#205) 2017-01-16 11:31:32 -05:00
timers Regenerate snapshots 2017-01-11 10:16:38 -05:00
url Regenerate snapshots 2017-01-11 10:16:38 -05:00