prettier/tests/flow/destructuring
Christopher Chedeau e30482d440 Fix trailing new lines preservation (#724)
There is an off by one error which made the algorithm not work all the time. In many cases, it actually is the opposite, so whenever you save, it adds/removes that line. I noticed it during the --debug-check run on our codebase but didn't investigate.

Fixes #723
2017-02-16 09:56:12 -05:00
..
__snapshots__ Fix trailing new lines preservation (#724) 2017-02-16 09:56:12 -05:00
array_rest.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
computed.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
defaults.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
destructuring.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
destructuring_param.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
eager.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
jsfmt.spec.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
poly.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
rec.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
string_lit.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
unannotated.js Move tests around (#454) 2017-01-24 14:35:37 -08:00