summaryrefslogtreecommitdiff
path: root/fpdf_test.go
diff options
context:
space:
mode:
authorMarcus Downing <marcus@bang-on.net>2015-08-12 22:21:11 +0100
committerMarcus Downing <marcus@bang-on.net>2015-08-12 22:21:11 +0100
commitb98de1858a3132a943653584015542cccbd37ce0 (patch)
tree7ac812aea73de717cdf55492b96fe884f06a4026 /fpdf_test.go
parent8a7a52a77792798994b5b15b20923cffda11be4d (diff)
Allow the tests to work on Windows
Diffstat (limited to 'fpdf_test.go')
-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)