/usr/share/perl5/CHI/t/Null.pm is in libchi-perl 0.60-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | package CHI::t::Null;
$CHI::t::Null::VERSION = '0.60';
use strict;
use warnings;
use CHI::Test;
use base qw(CHI::Test::Class);
sub test_basic : Tests {
my ( $key, $value ) = ( 'medium', 'medium' );
my $cache = CHI->new( driver => 'Null' );
$cache->set( $key, $value );
ok( !defined( $cache->get($key) ), "miss after set" );
cmp_deeply( [ $cache->get_keys ], [], "no keys after set" );
cmp_deeply( [ $cache->get_namespaces ], [], "no namespaces after set" );
}
1;
|