summaryrefslogtreecommitdiff
path: root/test/filter-nearest-offset.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/filter-nearest-offset.c')
-rw-r--r--test/filter-nearest-offset.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/filter-nearest-offset.c b/test/filter-nearest-offset.c
index 1c608a4d..01db5e8b 100644
--- a/test/filter-nearest-offset.c
+++ b/test/filter-nearest-offset.c
@@ -36,8 +36,10 @@
cairo_test_t test = {
"filter-nearest-offset",
- "Test sampling offset of CAIRO_FILTER_NEAREST",
- IMAGE_WIDTH, IMAGE_HEIGHT
+ "Test sampling offset of CAIRO_FILTER_NEAREST"
+ "\nwrong sampling location for nearest-neighbor filter in libpixman and Render",
+ IMAGE_WIDTH, IMAGE_HEIGHT,
+ draw
};
static cairo_test_status_t
@@ -102,6 +104,5 @@ draw (cairo_t *cr, int width, int height)
int
main (void)
{
- return cairo_test_expect_failure (&test, draw,
- "wrong sampling location for nearest-neighbor filter in libpixman and Render");
+ return cairo_test (&test);
}