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