Skip to content

Commit 028beaf

Browse files
committed
add test for Unwanted space after the colon of a namespaced JSX attribute #55293
1 parent c790cd4 commit 028beaf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/cases/fourslash/formattingJsxTexts4.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ format.document();
1313

1414
verify.currentFileContentIs(
1515
`function foo() {
16-
const a = <ns:foobar x:test1 x:test2="string" x:test3={true ? 1 : 0} />;
16+
const a = <ns:foobar x:test1 x:test2="string" x:test3={true ? 1 : 0} />;
1717
1818
return a;
19-
}`);
19+
}`);
20+
21+
// the original whitespaces between attributes are not handled by TypeScript yet

0 commit comments

Comments
 (0)