summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorKurt <kurt.w.jung@gmail.com>2016-07-30 17:40:29 -0400
committerKurt <kurt.w.jung@gmail.com>2016-07-30 17:40:29 -0400
commitf4bda32520aac828bf0c3880a41a97d5db968a7c (patch)
tree333fd92931935fda56396f24dcf4f51adcfdf83b /internal
parent80eb3e2a5ac1dddbbf7bd76e8065298f5257f122 (diff)
Correct example function name
Diffstat (limited to 'internal')
-rw-r--r--internal/example/example_test.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/internal/example/example_test.go b/internal/example/example_test.go
index 60ac1ac..8717d45 100644
--- a/internal/example/example_test.go
+++ b/internal/example/example_test.go
@@ -23,11 +23,9 @@ import (
)
// Test the Filename() and Summary() functions.
-func Example_Filename() {
+func Example_ExampleFilename() {
fileStr := example.Filename("example")
- example.Summary(nil, fileStr)
example.Summary(errors.New("printer on fire"), fileStr)
// Output:
- // Successfully generated ../../pdf/example.pdf
// printer on fire
}