File: memory.t

package info (click to toggle)
libcache-perl 2.11-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 428 kB
  • sloc: perl: 2,577; makefile: 2
file content (17 lines) | stat: -r--r--r-- 285 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use strict;
use warnings;
use Cache::Tester;
use Carp;

$SIG{__DIE__} = sub { confess @_; };

BEGIN { plan tests => 2 + $CACHE_TESTS }

use_ok('Cache::Memory');

# Test basic get/set and remove

my $cache = Cache::Memory->new();
ok($cache, 'Cache returned');

run_cache_tests($cache);