Skip to content

Commit

Permalink
minor typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyink committed Jan 23, 2023
1 parent c46f8bb commit d5248b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Type/Tiny/Enum.pm
Expand Up @@ -485,7 +485,7 @@ Using Type::Tiny::Enum's export feature:
package Horse {
use Moo;
use Types::Standard qw( Str );
use Type::Tiny::Enum Status => [ 'alive', dead' ];
use Type::Tiny::Enum Status => [ 'alive', 'dead' ];
has name => ( is => 'ro', isa => Str );
has status => ( is => 'ro', isa => Status, default => STATUS_ALIVE );
Expand All @@ -505,7 +505,7 @@ Using Type::Tiny::Enum's object-oriented interface:
my $Status = Type::Tiny::Enum->new(
name => 'Status',
values => [ 'alive', dead' ],
values => [ 'alive', 'dead' ],
);
has name => ( is => 'ro', isa => Str );
Expand Down

0 comments on commit d5248b7

Please sign in to comment.