my ($self, $role_name) = @_;
my $meta = Class::MOP::class_of($self);
(defined $role_name)
- || $meta->throw_error("You much supply a role name to does()");
+ || $meta->throw_error("You must supply a role name to does()");
foreach my $class ($meta->class_precedence_list) {
my $m = $meta->initialize($class);
return 1
throws_ok { Foo->new(undef) } qr/^\QSingle parameters to new() must be a HASH ref/,
'A single non-hashref arg to a constructor throws an error';
-throws_ok { Foo->does() } qr/^\QYou much supply a role name to does()/,
+throws_ok { Foo->does() } qr/^\QYou must supply a role name to does()/,
'Cannot call does() without a role name';