From: Dave Rolsky Date: Sun, 4 Apr 2010 02:10:18 +0000 (-0500) Subject: modernize tests and require Test::More 0.88 X-Git-Tag: v0.09~15 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=54cc4bad8c14d4adadc4bef100f351a2ad0b01c9;p=gitmo%2FMooseX-StrictConstructor.git modernize tests and require Test::More 0.88 --- diff --git a/Build.PL b/Build.PL index 16ed57a..c5a358a 100644 --- a/Build.PL +++ b/Build.PL @@ -9,8 +9,10 @@ my $builder = Module::Build->new( module_name => 'MooseX::StrictConstructor', license => 'perl', requires => { - 'Moose' => '0.74', - 'Test::More' => '0', + 'Moose' => '0.74', + }, + build_requires => { + 'Test::More' => '0.88', }, create_makefile_pl => 'passthrough', create_readme => 1, diff --git a/t/basic.t b/t/basic.t index 57ab8ad..9643630 100644 --- a/t/basic.t +++ b/t/basic.t @@ -1,7 +1,7 @@ use strict; use warnings; -use Test::More tests => 15; +use Test::More; { @@ -184,3 +184,5 @@ like( $@, qr/unknown attribute.+: agent/, 'ImmutableTricky still blows up on unknown params other than spy' ); + +done_testing();