File: 04-reload.t

package info (click to toggle)
libmoosex-object-pluggable-perl 0.0014-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 356 kB
  • sloc: perl: 377; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 244 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use strict;
use warnings;
use Test::More;
use lib 't/lib';

plan tests => 3;

use_ok('TestApp');

my $app = TestApp->new;

ok($app->load_plugin('Bar'), "Loaded Bar");
ok(!$app->load_plugin('Bar'), "Didn't load Bar because we already had it");