File: 08_stats.t

package info (click to toggle)
libcache-memcached-libmemcached-perl 0.04001-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 340 kB
  • sloc: perl: 2,274; makefile: 2
file content (12 lines) | stat: -rw-r--r-- 203 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
use strict;
use lib 't/lib';
use libmemcached_test;
use Test::More;

my $cache = libmemcached_test_create();
plan tests => 1;

{
    my $h1 = $cache->stats();
    ok( scalar keys %{$h1->{hosts}} > 0 );
}