Skip to content

Commit 6402971

Browse files
update tests
1 parent c2aef70 commit 6402971

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/specs/jsx/JsxElement/JsxElement_Spaces.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ const t = <div>{t} {u} {v}</div>;
66
[expect]
77
const t = <div>{t} {u} {v}</div>;
88

9-
== should remove spaces surrounding ==
9+
== should keep spaces surrounding ==
1010
const t = <div> test </div>;
1111

1212
[expect]
13-
const t = <div>test</div>;
13+
const t = <div> test </div>;
1414

1515
== should handle a space when exceeding the line width with only the parent when the parent and children are on the same line ==
1616
const t = <div>{test} {testsdffffffffffff}</div>;

tests/specs/jsx/JsxText/JsxText_All.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
const t = <> Testing this out </>;
55

66
[expect]
7-
const t = <>Testing this out</>;
7+
const t = <> Testing this out </>;
88

99
== should format when multi line ==
1010
const t = <>

0 commit comments

Comments
 (0)