From 0247f4d32069a0a04d089205e6708fdf70779f0d Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 7 Dec 2015 15:30:43 +0100 Subject: [PATCH] fix test --- tests/etag001.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.30.2