[php-src] master: Adjust test for slightly different behaviour with empty strings
| From: | Derick Rethans | Date: | Wed, 05 Aug 2026 11:35:03 +0000 |
| Subject: | [php-src] master: Adjust test for slightly different behaviour with empty strings | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-140498@lists.php.net to get a copy of this message | ||
Author: Derick Rethans (derickr)
Date: 2026-08-05T12:34:56+01:00
Commit: https://github.com/php/php-src/commit/cc6a8c6542f74fd8d219fa0f74eed6f1f63853ae
Raw diff: https://github.com/php/php-src/commit/cc6a8c6542f74fd8d219fa0f74eed6f1f63853ae.diff
Adjust test for slightly different behaviour with empty strings
Changed paths:
M ext/date/tests/bug35499.phpt
Diff:
diff --git a/ext/date/tests/bug35499.phpt b/ext/date/tests/bug35499.phpt
index 84d979cf71e7..ba2cb0e05f0e 100644
--- a/ext/date/tests/bug35499.phpt
+++ b/ext/date/tests/bug35499.phpt
@@ -69,9 +69,11 @@ array(12) {
array(0) {
}
["error_count"]=>
- int(0)
+ int(1)
["errors"]=>
- array(0) {
+ array(1) {
+ [0]=>
+ string(12) "Empty string"
}
["is_localtime"]=>
bool(false)