prettier/tests/literal
Simon Lydell 7148184d65 Print \x and \u escapes in strings and regexes lowercase (#522)
* Print \x and \u escapes in strings and regexes lowercase

Theoretically, we would want to do this for escapes int identifiers as
well. However, neither flow nor babylon preserves escapes in
identifiers. For example, `\u0061.\u{0061}` cannot be distinguished from
`a.a`. Nobody uses such escapes in real code anyway. It could also be
considered a feature that such escapes are converted to real unicode
characters.

* Update snapshots

* Normalize escapes in template literals

* Update snapshots
2017-01-31 06:56:26 -08:00
..
__snapshots__ Print \x and \u escapes in strings and regexes lowercase (#522) 2017-01-31 06:56:26 -08:00
jsfmt.spec.js Print numbers in a uniform way (#498) 2017-01-30 09:36:23 -08:00
number.js Print numbers in a uniform way (#498) 2017-01-30 09:36:23 -08:00
regex.js Print \x and \u escapes in strings and regexes lowercase (#522) 2017-01-31 06:56:26 -08:00