Move t/*/t into t/001_mouse
[gitmo/Mouse.git] / t / 001_mouse / 046-meta-add_attribute.t
CommitLineData
60f6eba9 1use strict;
2use warnings;
3use Test::More tests => 1;
4
5{
6 package Foo;
7 use Mouse;
8}
9
10Foo->meta->add_attribute(
11 'foo' => (
12 is => 'ro',
13 isa => 'Str',
14 default => 'bar',
15 )
16);
17is(Foo->new->foo, 'bar');