summaryrefslogtreecommitdiff
path: root/fpdf_test.go
diff options
context:
space:
mode:
authorKurt Jung <kurt.w.jung@gmail.com>2015-09-05 11:43:39 -0400
committerKurt Jung <kurt.w.jung@gmail.com>2015-09-05 11:43:39 -0400
commitcac87f231f2c4a3f579070710748ad11c784ea77 (patch)
tree5c92ce4569ea5254780b61274a55b91bc094aa84 /fpdf_test.go
parent1d098a6b577f231884eac30c8ead5e7771991011 (diff)
parentbc911f05c1290b4de5ff95610c6dc072fc88efba (diff)
Merge pull request #43 from marcusatbang/test-windows2
Windows testing 2
Diffstat (limited to 'fpdf_test.go')
-rw-r--r--fpdf_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdf_test.go b/fpdf_test.go
index 0af3556..ff8c5da 100644
--- a/fpdf_test.go
+++ b/fpdf_test.go
@@ -1055,12 +1055,12 @@ func ExampleFpdf_RegisterImage() {
info := pdf.GetImageInfo(imageStr)
if info != nil {
if info.Width() > 0.0 {
- fmt.Printf("Image %s is registered\n", imageStr)
+ fmt.Printf("Image %s is registered\n", filepath.ToSlash(imageStr))
} else {
- fmt.Printf("Incorrect information for image %s\n", imageStr)
+ fmt.Printf("Incorrect information for image %s\n", filepath.ToSlash(imageStr))
}
} else {
- fmt.Printf("Image %s is not registered\n", imageStr)
+ fmt.Printf("Image %s is not registered\n", filepath.ToSlash(imageStr))
}
}
infoShow(fileList[0])