diff options
author | Marcus Downing <marcus@bang-on.net> | 2015-09-05 16:32:29 +0100 |
---|---|---|
committer | Marcus Downing <marcus@bang-on.net> | 2015-09-05 16:32:29 +0100 |
commit | bc911f05c1290b4de5ff95610c6dc072fc88efba (patch) | |
tree | 5c92ce4569ea5254780b61274a55b91bc094aa84 | |
parent | 1d098a6b577f231884eac30c8ead5e7771991011 (diff) |
Windows testing 2
-rw-r--r-- | fpdf_test.go | 6 |
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]) |