diff options
author | Marcus Downing <marcus@bang-on.net> | 2015-08-12 22:21:11 +0100 |
---|---|---|
committer | Marcus Downing <marcus@bang-on.net> | 2015-08-12 22:21:11 +0100 |
commit | b98de1858a3132a943653584015542cccbd37ce0 (patch) | |
tree | 7ac812aea73de717cdf55492b96fe884f06a4026 | |
parent | 8a7a52a77792798994b5b15b20923cffda11be4d (diff) |
Allow the tests to work on Windows
-rw-r--r-- | fpdf_test.go | 1 |
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) |