diff options
author | Jesse Luehrs <doy@tozt.net> | 2010-06-15 03:42:31 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2010-06-15 03:42:31 -0500 |
commit | 5a5b351f6789989cf4f6033128a8cc2f711c795f (patch) | |
tree | de5b29a98946fb9ac9be5a1bd2fb280194687c26 /t/40-destructor.t | |
parent | dfc2ff5f2709f198d9fdb21d84a2534acc9f3670 (diff) | |
download | moosex-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.t | 4 |
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; |