Check that stderr is empty string, not undef
Dave Rolsky [Fri, 14 Oct 2011 21:30:46 +0000 (16:30 -0500)]
t/metaclasses/custom_error_class.t

index 81ef9f1..a4408e1 100644 (file)
@@ -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'
     );
 }