X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fstorage%2Fdebug.t;h=0aba07eca1598048a0cb210e5274a1e9ed3839fb;hb=88a76b5478a8b08e379c70c3d9ea57a7b55d3bcf;hp=e023fff9894c41dbfbae6a51487b32b5d25697a0;hpb=d19df4c393a2d5731f90902ff52a803b9fd65477;p=dbsrgits%2FDBIx-Class.git diff --git a/t/storage/debug.t b/t/storage/debug.t index e023fff..0aba07e 100644 --- a/t/storage/debug.t +++ b/t/storage/debug.t @@ -69,11 +69,12 @@ my $exception = try { open(STDERR, '>&STDERRCOPY'); }; -like $exception, qr/ +ok $exception =~ / \QDuplication of STDERR for debug output failed (perhaps your STDERR is closed?)\E .+ \Qat @{[__FILE__]} line $exception_line_number\E$ -/xms; +/xms + or diag "Unexpected exception text:\n\n$exception\n"; my @warnings; $exception = try {