From: Dave Rolsky Date: Sun, 21 Jun 2009 15:46:39 +0000 (-0500) Subject: The content of the warning for wrapped structors has changed X-Git-Tag: 0.82~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e6f3e98e9805b96208c341bcc6c4634663251506;p=gitmo%2FMoose.git The content of the warning for wrapped structors has changed --- diff --git a/t/300_immutable/011_constructor_is_wrapped.t b/t/300_immutable/011_constructor_is_wrapped.t index 9eb37a8..9593833 100644 --- a/t/300_immutable/011_constructor_is_wrapped.t +++ b/t/300_immutable/011_constructor_is_wrapped.t @@ -25,7 +25,7 @@ BEGIN { ::stderr_like( sub { Foo->meta->make_immutable }, - qr/\QNot inlining 'new' for Foo since it is not inheriting the default Moose::Object::new\E\s+\QIf you are certain you don't need to inline your constructor, specify inline_constructor => 0 in your call to Foo->meta->make_immutable\E\s+\Q ('new' has method modifiers which would be lost if it were inlined)/, + qr/\QNot inlining 'new' for Foo since it has method modifiers which would be lost if it were inlined/, 'got a warning that Foo may not have an inlined constructor' ); }