summaryrefslogtreecommitdiff
path: root/tests/getpart.pm
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-10-25 11:28:01 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-10-25 11:28:01 +0000
commitcce931f27d50d039dd8d11c86e713d297222fcce (patch)
treed97f379d23d97cc3e5886648775756b8520235db /tests/getpart.pm
parent34089c93bb83362e395dbca441c3b49e06e7c4af (diff)
downloadcurl-cce931f27d50d039dd8d11c86e713d297222fcce.tar.gz
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
Diffstat (limited to 'tests/getpart.pm')
-rw-r--r--tests/getpart.pm4
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]) {