Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Enums are now augmentable
I see no reason why an enum should not be augmentable. Indeed there are tests
for augmenting Bool which is an enum by spec. So remove the bogus test.
  • Loading branch information
niner committed Oct 3, 2015
1 parent be773e7 commit 44e937d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions S32-exceptions/misc.t
Expand Up @@ -3,7 +3,7 @@ use Test;
use lib "t/spec/packages";
use Test::Util;

plan 347;
plan 346;

throws-like '42 +', X::AdHoc, "missing rhs of infix", message => rx/term/;

Expand Down Expand Up @@ -127,7 +127,6 @@ throws-like 'augment class Any { }', X::Syntax::Augment::WithoutMonkeyTyping;
throws-like '{ use MONKEY-TYPING; }; augment class Any { }', X::Syntax::Augment::WithoutMonkeyTyping,
'MONKEY-TYPING applies lexically';
throws-like 'use MONKEY-TYPING; augment role Positional { }', X::Syntax::Augment::Illegal;
throws-like 'use MONKEY-TYPING; enum Weekday <Mon Tue>; augment class Weekday { }', X::Syntax::Augment::Illegal;
throws-like 'sub postbla:sym<foo>() { }', X::Syntax::Extension::Category, category => 'postbla';
# RT #73938
throws-like 'sub twigil:<@>() { }', X::Syntax::Extension::Category, category => 'twigil';
Expand Down

0 comments on commit 44e937d

Please sign in to comment.