diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-10-25 11:28:01 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-10-25 11:28:01 +0000 |
commit | cce931f27d50d039dd8d11c86e713d297222fcce (patch) | |
tree | d97f379d23d97cc3e5886648775756b8520235db | |
parent | 34089c93bb83362e395dbca441c3b49e06e7c4af (diff) |
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
-rw-r--r-- | tests/getpart.pm | 4 |
1 files changed, 0 insertions, 4 deletions
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]) { |