X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F100_io.t;h=9c91a885fd587db81635b4c7f75a4a7727d8cd93;hb=c2dae5d88280be6f80857e79194f092298f88b36;hp=361b6a589da21fa375003c6d7e6945ebf803c5ca;hpb=81a84db6ebe5ec540d0035fc6d1104cc49c81e25;p=gitmo%2FMooseX-Storage.git diff --git a/t/100_io.t b/t/100_io.t index 361b6a5..9c91a88 100644 --- a/t/100_io.t +++ b/t/100_io.t @@ -20,15 +20,15 @@ BEGIN { package Foo; use Moose; use MooseX::Storage; - + with Storage(format => 'JSON', io => 'File'); - + has 'number' => (is => 'ro', isa => 'Int'); has 'string' => (is => 'ro', isa => 'Str'); - has 'float' => (is => 'ro', isa => 'Num'); + has 'float' => (is => 'ro', isa => 'Num'); has 'array' => (is => 'ro', isa => 'ArrayRef'); - has 'hash' => (is => 'ro', isa => 'HashRef'); - has 'object' => (is => 'ro', isa => 'Object'); + has 'hash' => (is => 'ro', isa => 'HashRef'); + has 'object' => (is => 'ro', isa => 'Object'); } my $file = catfile( $dir, 'temp.json' );