From b98de1858a3132a943653584015542cccbd37ce0 Mon Sep 17 00:00:00 2001 From: Marcus Downing Date: Wed, 12 Aug 2015 22:21:11 +0100 Subject: Allow the tests to work on Windows --- fpdf_test.go | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.1-24-ge1ad