File: 28appledouble.t

package info (click to toggle)
libmodule-pluggable-perl 6.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 460 kB
  • sloc: perl: 1,605; makefile: 4
file content (25 lines) | stat: -rwxr-xr-x 421 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!perl -w

use strict;
use FindBin;
use lib (($FindBin::Bin."/lib")=~/^(.*)$/);
use Test::More tests => 3;

my @expected = qw(Apple::Double::Plugin::File);

ok(my $foo = Apple::Double->new());
ok(my @plugins = sort $foo->plugins);
is_deeply(\@plugins, \@expected, "is deeply");

package Apple::Double;

use strict;
use warnings;
use Module::Pluggable;

sub new {
    my $class = shift;
    return bless {}, $class;

}
1;