Skip to content

Commit

Permalink
Adding Output to example tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kenshaw committed Mar 25, 2021
1 parent dac8c91 commit 81a9681
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,8 @@ func ExampleEmulate() {
if err := ioutil.WriteFile("google-iphone7.png", buf, 0o644); err != nil {
panic(err)
}

// Output:
}

func ExamplePrintToPDF() {
Expand All @@ -422,6 +424,8 @@ func ExamplePrintToPDF() {
if err := ioutil.WriteFile("page.pdf", buf, 0o644); err != nil {
panic(err)
}

// Output:
}

func ExampleByJSPath() {
Expand Down

0 comments on commit 81a9681

Please sign in to comment.