summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
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
}