Skip to content

Commit

Permalink
printer: add more cases in singleline_string_and_tag.tgo test
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz834 committed Aug 16, 2024
1 parent 3f73fad commit d8ce88c
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 0 deletions.
52 changes: 52 additions & 0 deletions printer/testdata/tgo/singleline_string_and_tag.formatted
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,56 @@ func template() {
<div>"test"</div>
</div>
</section>

<div>
<div>"test"</div>
"test"
</div>

<div>
<div>"test"</div>
"test"
</div>

<section>
<div>
<div>"test"</div>
"test"
</div>
</section>

<section>
<div>
<div>"test"</div>
"test"
</div>
</section>

<section>
<div>
<div>"test"</div>
"test"
</div>
</section>

<section>
<div>
<div>"test"</div>
"test"
</div>
</section>

<section>
<div>
<div>"test"</div>
"test"
</div>
</section>

<section>
<div>
<div>"test"</div>
"test"
</div>
</section>
}
24 changes: 24 additions & 0 deletions printer/testdata/tgo/singleline_string_and_tag.tgo
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,28 @@ func template() {

<section>
<div>"test";<div>"test"</div></div></section>

<div><div>"test"</div>"test"</div>

<div><div>"test"</div>;"test"</div>

<section><div><div>"test"</div>;"test"</div>
</section>

<section><div><div>"test"</div>"test"</div>
</section>

<section>
<div><div>"test"</div>;"test"</div>
</section>

<section>
<div><div>"test"</div>"test"</div>
</section>

<section>
<div><div>"test"</div>;"test"</div></section>

<section>
<div><div>"test"</div>"test"</div></section>
}

0 comments on commit d8ce88c

Please sign in to comment.