From 5a5b351f6789989cf4f6033128a8cc2f711c795f Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 15 Jun 2010 03:42:31 -0500 Subject: switch to done_testing in tests --- t/40-destructor.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 't/40-destructor.t') 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; -- cgit v1.2.3-54-g00ecf