Skip to content

Commit

Permalink
fix two recent example names
Browse files Browse the repository at this point in the history
This makes vet happy, and will make the examples actually show up on
godoc.org.
  • Loading branch information
mvdan committed Aug 15, 2019
1 parent 519e0e1 commit f6d6f21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example_test.go
Expand Up @@ -311,7 +311,7 @@ func ExamplePrintToPDF() {
}
}

func ExampleByJSPath_OuterHTML() {
func ExampleByJSPath() {
ctx, cancel := chromedp.NewContext(context.Background())
defer cancel()

Expand Down Expand Up @@ -346,7 +346,7 @@ func ExampleByJSPath_OuterHTML() {
//</body></html>
}

func Example_DocumentDump() {
func Example_documentDump() {
ctx, cancel := chromedp.NewContext(context.Background())
defer cancel()

Expand Down

0 comments on commit f6d6f21

Please sign in to comment.