diff options
author | Kurt Jung <kurt.w.jung@gmail.com> | 2015-08-12 17:28:24 -0400 |
---|---|---|
committer | Kurt Jung <kurt.w.jung@gmail.com> | 2015-08-12 17:28:24 -0400 |
commit | 5e7e0e576fcb62062a7a12023bf1babad96eecac (patch) | |
tree | 7ac812aea73de717cdf55492b96fe884f06a4026 | |
parent | 8a7a52a77792798994b5b15b20923cffda11be4d (diff) | |
parent | b98de1858a3132a943653584015542cccbd37ce0 (diff) |
Merge pull request #34 from marcusatbang/test-windows
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) |