Check that stderr is empty string, not undef
[gitmo/Moose.git] / 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'
     );
 }