From: Tomas Doran Date: Thu, 26 Aug 2010 16:22:05 +0000 (+0100) Subject: Remove Test::Most dep, doh X-Git-Tag: 0.33~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8fb3af531d96f3fa9314b3c1affc6d2cae6e1586;p=gitmo%2FMooseX-Getopt.git Remove Test::Most dep, doh --- diff --git a/t/107_union_bug.t b/t/107_union_bug.t index 1dcba21..9f78fb5 100644 --- a/t/107_union_bug.t +++ b/t/107_union_bug.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::Most tests => 5; +use Test::More; { package example; @@ -49,8 +49,7 @@ use Test::Most tests => 5; other => 'test', }); isa_ok($example, 'example'); - explain($example->results); - cmp_deeply($example->results, [qw(1234 5678 9012)], 'result as expected'); + is_deeply($example->results, [qw(1234 5678 9012)], 'result as expected'); } # With MooseX::Getopt @@ -59,7 +58,9 @@ use Test::Most tests => 5; my $example = example->new_with_options; isa_ok($example, 'example'); - explain($example->results); is($example->other,'test'); - cmp_deeply($example->results, [qw(1234 5678 9012)], 'result as expected'); + is_deeply($example->results, [qw(1234 5678 9012)], 'result as expected'); } + +done_testing; +