Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Rename EnumMap to Map
  • Loading branch information
niner committed Sep 19, 2015
1 parent 12fe957 commit b88cb33
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion S02-types/WHICH.t
Expand Up @@ -32,7 +32,7 @@ my @normal = <
Distro
Duration
Enum
EnumMap
Map
Exception
Failure
FatRat
Expand Down
4 changes: 2 additions & 2 deletions S02-types/declare.t
Expand Up @@ -253,8 +253,8 @@ plan 70;
}

{
my EnumMap $paso;
isa-ok($paso,EnumMap );
my Map $paso;
isa-ok($paso,Map );
}

{
Expand Down
2 changes: 1 addition & 1 deletion S12-enums/anonymous.t
Expand Up @@ -11,7 +11,7 @@ is $e.keys.elems, 3, 'anonymous enum created correct sized hash';
is $e<ook!>, 0, 'anonymous enum created correctly';
is $e<ook.>, 1, 'anonymous enum created correctly';
is $e<ook?>, 2, 'anonymous enum created correctly';
isa-ok $e, EnumMap, 'anonymous enum returns an EnumMap';
isa-ok $e, Map, 'anonymous enum returns an Map';

my %e1 = enum <foo>;
is %e1.keys.elems, 1, 'single-value anonymous enum created correct sized hash';
Expand Down

0 comments on commit b88cb33

Please sign in to comment.