summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorKurt Jung <kurt.w.jung@gmail.com>2015-10-08 14:52:13 -0400
committerKurt Jung <kurt.w.jung@gmail.com>2015-10-08 14:52:13 -0400
commit4bed0d1e5b814845432a73f62b9462a27fd53bda (patch)
tree2dba5a9839c4e2058ebc5088bcd5eda2b7d27df3 /internal
parentfd73b28bfe68c6b20d2ce446de94819bdcfe8d36 (diff)
Clarify a comment
Diffstat (limited to 'internal')
-rw-r--r--internal/example/example.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/example/example.go b/internal/example/example.go
index 3a60a1e..6a3c65a 100644
--- a/internal/example/example.go
+++ b/internal/example/example.go
@@ -101,9 +101,9 @@ var (
// referenceCompare compares the specified file with the file's reference copy
// located in the 'reference' subdirectory. All bytes of the two files are
// compared except for the value of the /CreationDate field in the PDF. An
-// error is returned if the two files do not match. If the file does not exist,
-// a copy of the specified file is made and a non-nil error is returned only if
-// this copy fails.
+// error is returned if the two files do not match. If the reference file does
+// not exist, a copy of the specified file is made and a non-nil error is
+// returned only if this copy fails.
func referenceCompare(fileStr string) (err error) {
var fileBuf, refFileBuf []byte
var refFileStr, refDirStr, dirStr, baseFileStr string