Fix formatting when keyword is parsed as part of a JSX identifier (e.g. module-layout) (#18598)

This commit is contained in:
Andy authored and GitHub committed 2017-09-20 15:01:04 -07:00
1 parent 7dec4ae9d1
commit 4d2aa9bf2c
2 files changed
+12 -2

No files matched your search

@@ -0,0 +1,9 @@
/// <reference path='fourslash.ts' />
// Test that we don't crash when encountering a keyword in a JSX identifier.
// @Filename: /a.tsx
////<div module-layout=""></div>
format.document();
verify.currentFileContentIs(`<div module-layout=""></div>`);