Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmood committed Jul 12, 2024
1 parent 9ef3597 commit b6b42d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion must.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ func (p *Page) MustNavigate(url string) *Page {
return p
}

// MustResetNavigationHistory is similar to [Page.ResetNavigationHistory]
// MustResetNavigationHistory is similar to [Page.ResetNavigationHistory].
func (p *Page) MustResetNavigationHistory() *Page {
p.e(p.ResetNavigationHistory())
return p
Expand Down
4 changes: 2 additions & 2 deletions page.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,13 +197,13 @@ func (p *Page) NavigateBack() error {
return err
}

// ResetNavigationHistory reset history
// ResetNavigationHistory reset history.
func (p *Page) ResetNavigationHistory() error {
err := proto.PageResetNavigationHistory{}.Call(p)
return err
}

// GetNavigationHistory get navigation history
// GetNavigationHistory get navigation history.
func (p *Page) GetNavigationHistory() (*proto.PageGetNavigationHistoryResult, error) {
return proto.PageGetNavigationHistory{}.Call(p)
}
Expand Down

0 comments on commit b6b42d8

Please sign in to comment.