Test fixes for the more descriptive error messages
[gitmo/Moose.git] / t / 300_immutable / 010_constructor_is_not_moose.t
index 2852c55..8b47463 100644 (file)
@@ -28,7 +28,7 @@ plan tests => 6;
 
     ::stderr_is(
         sub { Foo->meta->make_immutable },
-        "Not inlining a constructor for Foo since it is not inheriting the default Moose::Object constructor\n",
+        "Not inlining a constructor for Foo since it is not inheriting the default Moose::Object constructor\nIf you are certain you don't need to inline your constructor, specify inline_constructor => 0 in your call to Foo->meta->make_immutable\n",
         'got a warning that Foo may not have an inlined constructor'
     );
 }