From cce931f27d50d039dd8d11c86e713d297222fcce Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 25 Oct 2004 11:28:01 +0000 Subject: the array sizes _can_ differ and the arrays can still match, since chomp is used at times but it doesn't decrease the array size --- tests/getpart.pm | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/getpart.pm') diff --git a/tests/getpart.pm b/tests/getpart.pm index 897ac24bb..969dfd066 100644 --- a/tests/getpart.pm +++ b/tests/getpart.pm @@ -138,10 +138,6 @@ sub compareparts { my $sizefirst=scalar(@$firstref); my $sizesecond=scalar(@$secondref); - if($sizefirst != $sizesecond) { - return -1; - } - for(1 .. $sizefirst) { my $index = $_ - 1; if($firstref->[$index] ne $secondref->[$index]) { -- cgit v1.2.3