]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/httpd-corner.t
t/httpd-corner.t: drop unnecessary bytes:: for length()
[public-inbox.git] / t / httpd-corner.t
index fbba46236cd649409ab5b97f60e0d44187e7d768..50aa28e33e8629e757abeb87f5a27f4492209cb5 100644 (file)
@@ -144,7 +144,7 @@ SKIP: {
        $conn->write($payload . "\r\n0\r\n\r\nGET /empty HTTP/1.0\r\n\r\n");
        $conn->read(my $buf, 4096);
        my $lim = 0;
-       $lim++ while ($conn->read($buf, 4096, bytes::length($buf)) && $lim < 9);
+       $lim++ while ($conn->read($buf, 4096, length($buf)) && $lim < 9);
        my $exp = sha1_hex($payload);
        like($buf, qr!\r\n\r\n${exp}HTTP/1\.0 200 OK\r\n!s,
                'chunk parser can handled pipelined requests');