]> git.vpit.fr Git - perl/modules/indirect.git/blobdiff - t/22-bad-fatal.t
Show more information when we couldn't run the tests data files
[perl/modules/indirect.git] / t / 22-bad-fatal.t
index 6fd910a4a6c3d1d5e87360c39723d0363c3b8130..64348d91cc0384e91add4ac53f3fc9fc8360d91f 100644 (file)
@@ -21,5 +21,5 @@ use IPC::Cmd qw/run/;
           't/data/bad.d'
    ];
 
-$stderr = join "\n", @$stderr if ref $stderr eq 'ARRAY';
+$stderr = join '', @$stderr;
 ok(!$success && $err_code && $stderr =~ /^Indirect\s+call\s+of\s+method\s+"new"\s+on\s+object\s+"Hlagh1"/mg, 'croak when :fatal is specified');