X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fbasic.t;h=2b4c80f78dbe1e1ff5018d90e35087a2cbb40950;hb=50f7a7854f5be717e28c766db3a5476e475948ac;hp=bcb99add814ce12803526b191f1ed17f60d45566;hpb=0430b7f7f7dea4bc4c9d7b05fced5234ddb53bb9;p=p5sagit%2FDevel-Size.git diff --git a/t/basic.t b/t/basic.t index bcb99ad..2b4c80f 100644 --- a/t/basic.t +++ b/t/basic.t @@ -23,7 +23,7 @@ can_ok ('Devel::Size', qw/ Devel::Size->import( qw(size total_size) ); die ("Uhoh, test uses outdated version of Devel::Size") - unless is ($Devel::Size::VERSION, '0.65', 'VERSION MATCHES'); + unless is ($Devel::Size::VERSION, '0.66', 'VERSION MATCHES'); ############################################################################# # some basic checks: @@ -47,11 +47,11 @@ my $size_2 = total_size(\@y); ok ( $size_1 < $size_2, 'size() of array refs'); ok (total_size(\@x) < total_size(\@y), 'total_size() of array refs'); -# the arrays alone should be the same size? +# the arrays alone shouldn't be the same size $size_1 = size(\@x); $size_2 = size(\@y); -is ( $size_1, $size_2, 'size() of array refs'); +isnt ( $size_1, $size_2, 'size() of array refs'); ############################################################################# # IV vs IV+PV (bug #17586)