summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fpdf_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/fpdf_test.go b/fpdf_test.go
index e4b8df4..81ff68f 100644
--- a/fpdf_test.go
+++ b/fpdf_test.go
@@ -109,6 +109,7 @@ func exampleFilename(baseStr string) string {
func summary(err error, fileStr string) {
if err == nil {
+ fileStr = filepath.ToSlash(fileStr)
fmt.Printf("Successfully generated %s\n", fileStr)
} else {
fmt.Println(err)