15 lines
471 B
Diff
15 lines
471 B
Diff
--- a/tests/pixbuf-jpeg.c
|
|
+++ b/tests/pixbuf-jpeg.c
|
|
@@ -196,10 +196,7 @@ test_jpeg_fbfbfbfb (void)
|
|
g_assert_no_error (error);
|
|
|
|
gdk_pixbuf_loader_close (loader, &error);
|
|
- g_assert_error (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_CORRUPT_IMAGE);
|
|
-
|
|
- pixbuf = gdk_pixbuf_loader_get_pixbuf (loader);
|
|
- g_assert_nonnull (pixbuf);
|
|
+ g_assert_error (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY);
|
|
|
|
g_object_unref (loader);
|
|
g_free (contents);
|