summaryrefslogtreecommitdiff
path: root/fpdf_test.go
diff options
context:
space:
mode:
authorMarcus Downing <marcus@bang-on.net>2015-09-05 16:32:29 +0100
committerMarcus Downing <marcus@bang-on.net>2015-09-05 16:32:29 +0100
commitbc911f05c1290b4de5ff95610c6dc072fc88efba (patch)
tree5c92ce4569ea5254780b61274a55b91bc094aa84 /fpdf_test.go
parent1d098a6b577f231884eac30c8ead5e7771991011 (diff)
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])