Skip to content

Commit

Permalink
Update page_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
maxence-charriere committed May 8, 2023
1 parent 0e9bd11 commit 920073f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pkg/app/page_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ import (

func TestRequestPage(t *testing.T) {
testPage(t, &requestPage{
width: 42,
height: 21,
url: &url.URL{Path: "/"},
width: 42,
height: 21,
url: &url.URL{Path: "/"},
resolveStaticResource: func(v string) string { return v },
})
}

Expand All @@ -21,7 +22,7 @@ func TestBrowserPage(t *testing.T) {
client := NewClientTester(Div())
defer client.Close()
testPage(t, browserPage{
dispatcher: client,
resolveStaticResource: func(v string) string { return v },
})
}

Expand Down

0 comments on commit 920073f

Please sign in to comment.