summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Jung <kurt.w.jung@gmail.com>2015-08-12 17:28:24 -0400
committerKurt Jung <kurt.w.jung@gmail.com>2015-08-12 17:28:24 -0400
commit5e7e0e576fcb62062a7a12023bf1babad96eecac (patch)
tree7ac812aea73de717cdf55492b96fe884f06a4026
parent8a7a52a77792798994b5b15b20923cffda11be4d (diff)
parentb98de1858a3132a943653584015542cccbd37ce0 (diff)
Merge pull request #34 from marcusatbang/test-windows
Allow the tests to work on Windows
-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)