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/22-replaced-constructor.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 't/22-replaced-constructor.t') diff --git a/t/22-replaced-constructor.t b/t/22-replaced-constructor.t index c7b2e44..3362bc2 100644 --- a/t/22-replaced-constructor.t +++ b/t/22-replaced-constructor.t @@ -1,7 +1,7 @@ #!/usr/bin/env perl use strict; use warnings; -use Test::More tests => 7; +use Test::More; our $foo_constructed = 0; @@ -60,3 +60,5 @@ is($method, Foo::Moose2->meta->get_method('new'), 'make_immutable doesn\'t overwrite custom constructor'); $foo = Foo::Moose2->new; ok($foo_constructed, 'custom constructor called (immutable)'); + +done_testing; -- cgit v1.2.3-54-g00ecf