summaryrefslogtreecommitdiffstats
path: root/t/20-BUILD.t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2010-06-15 03:42:31 -0500
committerJesse Luehrs <doy@tozt.net>2010-06-15 03:42:31 -0500
commit5a5b351f6789989cf4f6033128a8cc2f711c795f (patch)
treede5b29a98946fb9ac9be5a1bd2fb280194687c26 /t/20-BUILD.t
parentdfc2ff5f2709f198d9fdb21d84a2534acc9f3670 (diff)
downloadmoosex-nonmoose-5a5b351f6789989cf4f6033128a8cc2f711c795f.tar.gz
moosex-nonmoose-5a5b351f6789989cf4f6033128a8cc2f711c795f.zip
switch to done_testing in tests
Diffstat (limited to 't/20-BUILD.t')
-rw-r--r--t/20-BUILD.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/20-BUILD.t b/t/20-BUILD.t
index 81de930..d5cc68f 100644
--- a/t/20-BUILD.t
+++ b/t/20-BUILD.t
@@ -1,7 +1,7 @@
#!/usr/bin/env perl
use strict;
use warnings;
-use Test::More tests => 5;
+use Test::More;
package Foo;
@@ -54,3 +54,5 @@ my $foo_moose_sub = Foo::Moose::Sub->new;
is($foo_moose_sub->class, 'Foo::Moose::Sub', 'parent BUILD method called');
is($foo_moose_sub->bar, 'BAR', 'child BUILD method called');
is($foo_moose_sub->accum, 'ab', 'BUILD methods called in the correct order');
+
+done_testing;