From: Dave Rolsky Date: Sat, 14 Feb 2009 23:56:51 +0000 (+0000) Subject: Fix some test descriptions I just broke by trying to fix X-Git-Tag: 0.71~18 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a0b170bd6c01c78e426d787acefab6ffd44f3fdb;p=gitmo%2FMoose.git Fix some test descriptions I just broke by trying to fix --- diff --git a/t/040_type_constraints/003_util_std_type_constraints.t b/t/040_type_constraints/003_util_std_type_constraints.t index 65c0c4b..65b7a08 100644 --- a/t/040_type_constraints/003_util_std_type_constraints.t +++ b/t/040_type_constraints/003_util_std_type_constraints.t @@ -299,9 +299,9 @@ ok(!defined Role($SCALAR_REF), '... Role rejects anything which is not ok(!defined Role($GLOB_REF), '... Role rejects anything which is not a Role'); ok(!defined Role($fh), '... Role rejects anything which is not a Role'); ok(!defined Role(qr/../), '... Role rejects anything which is not a Role'); -ok(!defined Role(bless {}, 'Foo'), '... Role accepts anything which is a Role'); +ok(!defined Role(bless {}, 'Foo'), '... Role rejects anything which is not a Role'); ok(defined Role(bless {}, 'My::Role'), '... Role accepts anything which is a Role'); -ok(!defined Role(undef), '... Role accepts anything which is a Role'); +ok(!defined Role(undef), '... Role rejects anything which is not a Role'); ok(!defined ClassName(0), '... ClassName rejects anything which is not a ClassName'); ok(!defined ClassName(100), '... ClassName rejects anything which is not a ClassName');