[PHP-CVS] [php-src] master: Adjust test for slightly different behaviour with empty strings
[email protected] (Derick Rethans) Wed, 5 Aug 2026 11:35:03 +0000
| Newsgroups | php.cvs |
|---|---|
| Message-ID | <[email protected]> |
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)