summaryrefslogtreecommitdiffstats
path: root/t/40-destructor.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/40-destructor.t
parentdfc2ff5f2709f198d9fdb21d84a2534acc9f3670 (diff)
downloadmoosex-nonmoose-5a5b351f6789989cf4f6033128a8cc2f711c795f.tar.gz
moosex-nonmoose-5a5b351f6789989cf4f6033128a8cc2f711c795f.zip
switch to done_testing in tests
Diffstat (limited to 't/40-destructor.t')
-rw-r--r--t/40-destructor.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/40-destructor.t b/t/40-destructor.t
index 741db60..e9a2185 100644
--- a/t/40-destructor.t
+++ b/t/40-destructor.t
@@ -1,7 +1,7 @@
#!/usr/bin/env perl
use strict;
use warnings;
-use Test::More tests => 4;
+use Test::More;
use Test::Moose;
my ($destroyed, $demolished);
@@ -26,3 +26,5 @@ with_immutable {
is($destroyed, 1, "non-Moose destructor called");
is($demolished, 1, "Moose destructor called");
} 'Foo::Sub';
+
+done_testing;