Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit fe52721

Browse files
author
Ivan Mirić
committed
Fix HTML formatting in TestElementHandleBoundingBoxSVG
Resolves #298 (comment)
1 parent 60ed06f commit fe52721

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/element_handle_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,10 @@ func TestElementHandleBoundingBoxSVG(t *testing.T) {
6868
p := tb.NewPage(nil)
6969

7070
p.SetContent(`
71-
<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500">
72-
<rect id="theRect" x="30" y="50" width="200" height="300"></rect>
73-
</svg>`, nil)
71+
<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500">
72+
<rect id="theRect" x="30" y="50" width="200" height="300"></rect>
73+
</svg>
74+
`, nil)
7475
element := p.Query("#therect")
7576
bbox := element.BoundingBox()
7677
pageFn := `e => {

0 commit comments

Comments
 (0)