File: 000-load.t

package info (click to toggle)
libclass-method-modifiers-perl 2.11-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 372 kB
  • ctags: 9
  • sloc: perl: 349; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 305 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
use strict;
use warnings;
use Test::More;
use if $ENV{AUTHOR_TESTING}, 'Test::Warnings';

do {
    package Class;
    use Class::Method::Modifiers;

    sub foo { }

    before foo => sub {
    };

    after foo => sub {
    };

    around foo => sub {
    };
};

pass("loaded correctly");

done_testing;