summaryrefslogtreecommitdiff
path: root/internal/example
diff options
context:
space:
mode:
authorKurt <kurt.w.jung@gmail.com>2016-07-30 18:29:08 -0400
committerKurt <kurt.w.jung@gmail.com>2016-07-30 18:29:08 -0400
commitf0c4fb26374b905ca6e5163fcb984d4a9b932b1d (patch)
treeb77af8eedd945f0a4c61715778b3e9b83ace70e2 /internal/example
parentd7e9d2acda2e7a04390acec86f67f4fa9d732fa9 (diff)
Change example test function name to comply with go vet
Diffstat (limited to 'internal/example')
-rw-r--r--internal/example/example_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/example/example_test.go b/internal/example/example_test.go
index 2765cc0..a779650 100644
--- a/internal/example/example_test.go
+++ b/internal/example/example_test.go
@@ -23,7 +23,7 @@ import (
)
// Test the Filename() and Summary() functions.
-func ExampleExample_Filename() {
+func ExampleFilename() {
fileStr := example.Filename("example")
example.Summary(errors.New("printer on fire"), fileStr)
// Output: