summaryrefslogtreecommitdiffstats
path: root/t/40-destructor.t
diff options
context:
space:
mode:
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;