summaryrefslogtreecommitdiff
path: root/fpdf_test.go
diff options
context:
space:
mode:
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])