Skip to content

Commit 15f2786

Browse files
committed
Add a test case for the duplicated comment
1 parent 6394de7 commit 15f2786

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

test/__snapshots__/format.test.ts.snap

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ use {
4444
- 3
4545
</style>
4646
47+
<!-- inner comment -->
48+
4749
<?pagebreak?>
4850
<g class=\\"special\\" style=\\"fill: blue\\">
4951
<circle id=\\"c\\" cy=\\"50\\" cx=\\"50\\" r=\\"40\\" stroke-width=\\"20\\" />
@@ -120,6 +122,8 @@ use {
120122
- 3
121123
</style>
122124
125+
<!-- inner comment -->
126+
123127
<?pagebreak?>
124128
<g class=\\"special\\" style=\\"fill: blue\\">
125129
<circle id=\\"c\\" cy=\\"50\\" cx=\\"50\\" r=\\"40\\" stroke-width=\\"20\\" />
@@ -193,6 +197,8 @@ use {
193197
- 3
194198
</style>
195199
200+
<!-- inner comment -->
201+
196202
<?pagebreak?>
197203
<g class=\\"special\\" style=\\"fill: blue\\">
198204
<circle id=\\"c\\" cy=\\"50\\" cx=\\"50\\" r=\\"40\\" stroke-width=\\"20\\" />

test/fixture.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
- 3
3636
</style>
3737

38+
<!-- inner comment -->
39+
3840
<?pagebreak?>
3941
<g class="special" style="fill: blue">
4042
<circle id="c" cy="50" cx="50" r="40" stroke-width="20" />

0 commit comments

Comments
 (0)