From: Michael Wallner Date: Mon, 7 Dec 2015 14:30:43 +0000 (+0100) Subject: fix test X-Git-Tag: RELEASE_3_0_0~6 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=0247f4d32069a0a04d089205e6708fdf70779f0d;p=m6w6%2Fext-http fix test --- diff --git a/tests/etag001.phpt b/tests/etag001.phpt index 52da911..e23bd0a 100644 --- a/tests/etag001.phpt +++ b/tests/etag001.phpt @@ -10,7 +10,7 @@ _ext("hash"); $body = new http\Message\Body; $body->append("Hello, my old fellow."); foreach (hash_algos() as $algo) { - if (strncmp($algo, "sha3-", 4)) { + if (strncmp($algo, "sha3-", 5)) { ini_set("http.etag.mode", $algo); printf("%10s: %s\n", $algo,