prettier/tests/json
Joseph Frazier 63c47c85e0 JSON: Print trailing newline (#2226)
* JSON: Append trailing newline

This partially addresses https://github.com/prettier/prettier/issues/2223

* Dedupe printing of JSON trailiing newline

* JSON: Add tests for newlines after boolean/null/number/string

* JSON: Fix tests for newlines after boolean/null/number/string, simplify code

This fixes https://github.com/prettier/prettier/issues/2223
2017-06-21 15:40:19 -07:00
..
__snapshots__ JSON: Print trailing newline (#2226) 2017-06-21 15:40:19 -07:00
boolean.json JSON: Print trailing newline (#2226) 2017-06-21 15:40:19 -07:00
jsfmt.spec.js Add JSON support (#2173) 2017-06-17 10:36:42 -10:00
multi-line.json Add JSON support (#2173) 2017-06-17 10:36:42 -10:00
null.json JSON: Print trailing newline (#2226) 2017-06-21 15:40:19 -07:00
number.json JSON: Print trailing newline (#2226) 2017-06-21 15:40:19 -07:00
pass1.json Add JSON support (#2173) 2017-06-17 10:36:42 -10:00
single-line.json Add JSON support (#2173) 2017-06-17 10:36:42 -10:00
string.json JSON: Print trailing newline (#2226) 2017-06-21 15:40:19 -07:00