use strict;
use warnings;
-use Test::More 'no_plan';
+use Test::More;
use Test::Builder;
use Test::MooseX::Daemonize;
use MooseX::Daemonize;
after start => sub {
my ($self) = @_;
- $self->output_ok()
+ $self->output_ok()
if $self->is_daemon;
};
my $warnings = "";
{
- local $SIG{__WARN__} = sub { $warnings .= $_[0]; warn @_ };
- $app->stop( no_exit => 1 );
+ local $SIG{__WARN__} = sub { $warnings .= $_[0]; warn @_ };
+ $app->stop( no_exit => 1 );
}
is($warnings, "", "No warnings from stop");
check_test_output($app);
unlink( $app->test_output );
+
+done_testing;
+
exit;