projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
e8e022a
)
fix test
author
Michael Wallner
<mike@php.net>
Mon, 7 Dec 2015 14:30:43 +0000
(15:30 +0100)
committer
Michael Wallner
<mike@php.net>
Mon, 7 Dec 2015 14:30:43 +0000
(15:30 +0100)
tests/etag001.phpt
patch
|
blob
|
history
diff --git
a/tests/etag001.phpt
b/tests/etag001.phpt
index 52da9118dd3c99e05d77bcd56cbe5470532c9b7a..e23bd0a0e8a687bedce79ee6586ecb587181a4e9 100644
(file)
--- 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,