File Coverage

File:t/join.t
Coverage:100.0%

linestmtbrancondsubpodtimecode
1
1
1
1
38627
7
42
use strict;
2
1
1
1
9
4
33
use warnings;
3
4
1
1
1
905
2448410
82
use Test::Most;
5
6
1
1
1
1060358
9
187
use constant MODULE => 'Bot::IRC::Join';
7
8
1
1
1
1
1
9
3166
6
5
33
BEGIN { use_ok(MODULE); }
9
1
1
1
1
1
45525
19637
14
12
56
BEGIN { use_ok('Bot::IRC'); }
10
11
1
461520
ok( MODULE->can('init'), 'init() method exists' );
12
13
1
450
my $plugin;
14
1
13
my $bot = Bot::IRC->new( connect => { server => 'irc.perl.org' } );
15
16
1
1
13
36
lives_ok( sub { Bot::IRC::Join::init($bot) }, 'init()' );
17
18
1
2846
done_testing;