summaryrefslogtreecommitdiff
path: root/internal/example/example_test.go
diff options
context:
space:
mode:
authorCodeLingo Bot <hello@codelingo.io>2018-12-12 02:30:35 +1300
committerKurt Jung <kurt.w.jung@gmail.com>2018-12-11 08:30:35 -0500
commit95702eead4d148c6111f5a3ef7ef7cbc0c906b49 (patch)
treee5e45521c4ee68d36cbad02aaa69153660fd8797 /internal/example/example_test.go
parentfe48001d4389ad79f7402b3c654c03409babac29 (diff)
Fix comments according to best practices by effective go (#217)
* Fix comments according to best practices by effective go * Update font.go * Update fpdf_test.go * Update fpdf.go * Update example.go * Update util.go
Diffstat (limited to 'internal/example/example_test.go')
-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 a779650..b985778 100644
--- a/internal/example/example_test.go
+++ b/internal/example/example_test.go
@@ -22,7 +22,7 @@ import (
"github.com/jung-kurt/gofpdf/internal/example"
)
-// Test the Filename() and Summary() functions.
+// ExampleFilename tests the Filename() and Summary() functions.
func ExampleFilename() {
fileStr := example.Filename("example")
example.Summary(errors.New("printer on fire"), fileStr)