Skip to content

Commit 84eae33

Browse files
committed
Fix test
1 parent a7a48e5 commit 84eae33

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed

tests/syntax_tests/data/printer/comments/expected/jsx.res.txt

-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ let x =
6969
<>
7070
// before a
7171
{a} // after a
72-
7372
// before b
7473
{b} // after b
7574
</>

tests/syntax_tests/data/printer/expr/expected/jsx.res.txt

+18
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,24 @@ let x = {
464464

465465
let x =
466466
<div>
467+
{
468+
hello()
469+
hello()
470+
}
471+
{
472+
world()
473+
world()
474+
}
475+
476+
{
477+
hello()
478+
hello()
479+
}
480+
{
481+
world()
482+
world()
483+
}
484+
// another test
467485
<span
468486
id="1"
469487
className="sdf sdfdsf sdfs sdf asdf dsf"

tests/syntax_tests/data/printer/expr/jsx.res

+17
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,23 @@ let x = {
446446

447447
let x =
448448
<div>
449+
{
450+
hello()
451+
hello()
452+
}
453+
{
454+
world()
455+
world()
456+
}
457+
458+
{
459+
hello()
460+
hello()
461+
} {
462+
world()
463+
world()
464+
}
465+
// another test
449466
<span
450467
id="1"
451468
className="sdf sdfdsf sdfs sdf asdf dsf"

0 commit comments

Comments
 (0)