From: Dave Rolsky Date: Fri, 14 Oct 2011 21:30:46 +0000 (-0500) Subject: Check that stderr is empty string, not undef X-Git-Tag: 2.0301~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1cdfc8ef507decb96145a166409465ddfa56d3fd;p=gitmo%2FMoose.git Check that stderr is empty string, not undef --- diff --git a/t/metaclasses/custom_error_class.t b/t/metaclasses/custom_error_class.t index 81ef9f1..a4408e1 100644 --- a/t/metaclasses/custom_error_class.t +++ b/t/metaclasses/custom_error_class.t @@ -68,7 +68,7 @@ use Test::Requires { ::stderr_is( sub { __PACKAGE__->meta->make_immutable }, - undef, + q{}, 'no warnings when calling make_immutable with a custom error class' ); }