Skip to content

Commit

Permalink
Add 'class_metaroles' option to validate_class()
Browse files Browse the repository at this point in the history
  • Loading branch information
rsrchboy committed Nov 13, 2016
1 parent ab5da32 commit a8f523b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Test/Moose/More.pm
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,9 @@ sub _validate_class_guts {
do { is_not_immutable_ok $class }
if exists $args{immutable} && !$args{immutable};

do { does_metaroles_ok $class => $args{class_metaroles} }
if exists $args{class_metaroles};

return validate_thing $class => %args;
}

Expand Down

0 comments on commit a8f523b

Please sign in to comment.