CHI/t/Bugs.pm

filter: Statementstmt 100% 27 / 27 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 0.0% 0 / 1 totaltotal 97.1% 34 / 35 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« CHI/t/SetError.pm ↑ Summary CHI/t/Subclass.pm »
1 package CHI::t::Bugs;
2 1 $CHI::t::Bugs::VERSION = '0.60';
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use CHI::Test;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use File::Temp qw(tempdir);
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use base qw(CHI::Test::Class);
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 # A place for testing obscure bug fixes. When possible, test will be named for RT ticket.
10  
11 sub test_48998 : Tests {
12 1 ▶ my $cache = CHI->new( driver => 'Memory', global => 1 );
Subroutine test_48998: called CC=1 SCAR=0.0
Pod undocumented
13 1 $cache->set( 'a', 5 );
14 1 $cache->set( 'b', 6 );
15 1 eval { die "bleah" };
16 1 $DB::single = 1;
17 1 cmp_deeply( $cache->get_multi_arrayref( [ 'a', 'b' ] ),
18 [ 5, 6 ], "get_multi" );
19 1 ▶}
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21 1 1;
« CHI/t/SetError.pm ↑ Summary CHI/t/Subclass.pm »