From ece2b3ab9223a792d967a08d02242fcf3dae3432 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Tue, 2 Apr 2019 13:51:47 +0200 Subject: [PATCH] give examples better names to appease vet --- example_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example_test.go b/example_test.go index a6c6a3e..ce660a5 100644 --- a/example_test.go +++ b/example_test.go @@ -34,7 +34,7 @@ func ExampleTitle() { // too slow, requiring internet access. } -func ExampleExecAllocatorOption() { +func ExampleExecAllocator() { dir, err := ioutil.TempDir("", "chromedp-example") if err != nil { panic(err) @@ -77,7 +77,7 @@ func ExampleExecAllocatorOption() { // DevToolsActivePort has 2 lines } -func ExampleManyTabs() { +func ExampleNewContext_manyTabs() { // new browser, first tab ctx1, cancel := chromedp.NewContext(context.Background()) defer cancel()