[php-src] master: ext/hash: cleaned up test (#23041)
| From: | NickSdot via GitHub | Date: | Fri, 07 Aug 2026 12:05:17 +0000 |
| Subject: | [php-src] master: ext/hash: cleaned up test (#23041) | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-140526@lists.php.net to get a copy of this message | ||
Author: NickSdot (NickSdot)
Committer: GitHub (web-flow)
Pusher: kamil-tekiela
Date: 2026-08-07T13:05:14+01:00
Commit: https://github.com/php/php-src/commit/aa8b895315d412701b0f838f5e358cba2f50bd2a
Raw diff: https://github.com/php/php-src/commit/aa8b895315d412701b0f838f5e358cba2f50bd2a.diff
ext/hash: cleaned up test (#23041)
Changed paths:
M ext/hash/tests/hash_serialize_003.phpt
Diff:
diff --git a/ext/hash/tests/hash_serialize_003.phpt b/ext/hash/tests/hash_serialize_003.phpt
index 541a3169e53e..a01c100644a1 100644
--- a/ext/hash/tests/hash_serialize_003.phpt
+++ b/ext/hash/tests/hash_serialize_003.phpt
@@ -237,7 +237,7 @@ function test_serialization($serial, $hash, $algo) {
}
} catch (Throwable $e) {
echo "$algo: problem with serialization {$serial}\n";
- echo ' ', $e::class . ': ' . $e->getMessage(), "\n",
$e->getTraceAsString();
+ echo $e::class, ': ', $e->getMessage(), "\n",
$e->getTraceAsString();
}
}