summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pierre.php@gmail.com>2016-07-12 16:24:36 +0700
committerPierre Joye <pierre.php@gmail.com>2016-07-12 16:24:36 +0700
commitf10c930ad4961133db0c6785c75371b5c98b3834 (patch)
tree1711205e2c59df465f949f3d0437db4319901b12
parent7932287b706c589ee5c09522be1ecf37175f56ca (diff)
downloadlibgd-f10c930ad4961133db0c6785c75371b5c98b3834.tar.gz
#249, use gdTestFilePath, fix dirname
-rw-r--r--tests/gdimagecopyrotated/bug00020.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gdimagecopyrotated/bug00020.c b/tests/gdimagecopyrotated/bug00020.c
index 3a09e3a..df29450 100644
--- a/tests/gdimagecopyrotated/bug00020.c
+++ b/tests/gdimagecopyrotated/bug00020.c
@@ -19,7 +19,7 @@ int main()
im2 = gdImageCreateTrueColor(width, width);
gdImageCopyRotated(im2, im, width / 2, width / 2, 0,0, width, width, 60);
- path = gdTestFilePath2("png", "bug00020_exp.png");
+ path = gdTestFilePath2("gdimagecopyrotated", "bug00020_exp.png");
if (!gdAssertImageEqualsToFile(path, im2)) {
error = 1;
}