From 4ace7dbb755d1f2496c4fc203cd1ba72fca9c7e4 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 22 Jun 2017 15:15:41 +0100 Subject: t/img.t: Give better diagnostics if we can't load an image --- t/img.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/img.t b/t/img.t index 228f09a0e..20c960500 100755 --- a/t/img.t +++ b/t/img.t @@ -107,7 +107,7 @@ sub size($) { my $filename = shift; my $im = Image::Magick->new(); my $r = $im->Read(":$filename"); - return "no image" if $r; + return "no image: $r" if $r; my $w = $im->Get("width"); my $h = $im->Get("height"); return "${w}x${h}"; -- cgit v1.2.3