Failing test for reloading an already-loaded plugin, it shouldn't throw an error
[gitmo/MooseX-Object-Pluggable.git] / t / 04-reload.t
CommitLineData
4a9b5ed4 1#!/usr/local/bin/perl
2
3use strict;
4use warnings;
5use Test::More;
6use lib 't/lib';
7
8plan tests => 3;
9
10use_ok('TestApp');
11
12my $app = TestApp->new;
13
14ok($app->load_plugin('Bar'), "Loaded Bar");
15ok(!$app->load_plugin('Bar'), "Didn't load Bar because we already had it");
16