X-Git-Url: http://git.rot13.org/?p=perl-Redis.git;a=blobdiff_plain;f=t%2F20-Redis-Hash.t;h=169eda46c072fda184d1db4b06be7b36f722dfad;hp=6a371ecd73b4275d926ab61cfe7f1d66dc50aff5;hb=HEAD;hpb=01860f4554d3bba7c67c0c65e28023db4f90ca72;ds=sidebyside diff --git a/t/20-Redis-Hash.t b/t/20-Redis-Hash.t index 6a371ec..169eda4 100755 --- a/t/20-Redis-Hash.t +++ b/t/20-Redis-Hash.t @@ -3,9 +3,8 @@ use warnings; use strict; -use Test::More tests => 7; +use Test::More tests => 8; use lib 'lib'; -use Data::Dump qw/dump/; BEGIN { use_ok( 'Redis::Hash' ); @@ -25,6 +24,6 @@ is_deeply( [ sort keys %h ], [ 'bar', 'baz', 'foo' ], 'keys' ); is_deeply( \%h, { bar => 1, baz => 99, foo => 42, }, 'structure' ); - -diag dump( \%h ); +ok( my $mem = $o->info->{used_memory}, 'info' ); +diag "used memory $mem";