Skip to content

Commit c790cd4

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

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/// <reference path='fourslash.ts' />
2+
3+
// Github issue #55293
4+
5+
//@Filename: file.tsx
6+
//// function foo() {
7+
//// const a = <ns: foobar x : test1 x :test2="string" x:test3={true?1:0} />;
8+
////
9+
//// return a;
10+
//// }
11+
12+
format.document();
13+
14+
verify.currentFileContentIs(
15+
`function foo() {
16+
const a = <ns:foobar x:test1 x:test2="string" x:test3={true ? 1 : 0} />;
17+
18+
return a;
19+
}`);

0 commit comments

Comments
 (0)