[test] 40chunked.t: convert the length of the chunk from hexadecimal
this might explain most of the
time we should see a number between 1 and 2, but timing issues might
result in a larger hex number, causing the test to fail
@@ -36,8 +36,8 @@ EOT
my @list = split("\r\n", $body);
my $content = '';
while (scalar(@list) >= 2) {
- my ($len, $data) = splice(@list, 0, 2);
- is length($data), $len;
+ my ($hlen, $data) = splice(@list, 0, 2);
+ is length($data), hex $hlen;
$content .= $data;
}
is $content, join("", (1..30));
