com php-src: Fixed tests: ext/imap/tests/bug46918.phpt ext/intl/tests/dateformat_format_variant2.phpt
| From: | Dmitry Stogov | Date: | Thu, 12 Jul 2018 14:17:09 +0000 |
| Subject: | com php-src: Fixed tests: ext/imap/tests/bug46918.phpt ext/intl/tests/dateformat_format_variant2.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-102538@lists.php.net to get a copy of this message | ||
Commit: 571dac8c8f1a7519cf0ede8befd22a0f91416172
Author: Dmitry Stogov <dmitry@zend.com> Thu, 12 Jul 2018 17:17:09 +0300
Parents: 5e8977bd626105fb45b54d9d65ef48a31d5e15ec
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=571dac8c8f1a7519cf0ede8befd22a0f91416172
Log:
Fixed tests
Changed paths:
M ext/imap/tests/bug46918.phpt
M ext/intl/tests/dateformat_format_variant2.phpt
Diff:
diff --git a/ext/imap/tests/bug46918.phpt b/ext/imap/tests/bug46918.phpt
index 351beca..71fac50 100644
--- a/ext/imap/tests/bug46918.phpt
+++ b/ext/imap/tests/bug46918.phpt
@@ -24,52 +24,52 @@ var_export($add_arr);
--EXPECT--
array (
0 =>
- stdClass::__set_state(array(
+ (object) array(
'mailbox' => 'iane',
'host' => 'example.ac.uk',
'personal' => 'ian eiloart',
- )),
+ ),
1 =>
- stdClass::__set_state(array(
+ (object) array(
'mailbox' => 'shuf6',
'host' => 'example.ac.uk',
- )),
+ ),
2 =>
- stdClass::__set_state(array(
+ (object) array(
'mailbox' => 'blobby',
'host' => 'example.com',
- )),
+ ),
3 =>
- stdClass::__set_state(array(
+ (object) array(
'mailbox' => 'ian',
'host' => 'example.ac..uk',
'personal' => 'ian,eiloart',
- )),
+ ),
4 =>
- stdClass::__set_state(array(
+ (object) array(
'mailbox' => 'foo',
'host' => 'example.ac.uk',
'adl' => '@example.com',
- )),
+ ),
5 =>
- stdClass::__set_state(array(
+ (object) array(
'mailbox' => 'foo',
'host' => '#',
- )),
+ ),
6 =>
- stdClass::__set_state(array(
+ (object) array(
'mailbox' => 'ian',
'host' => '-example.com',
- )),
+ ),
7 =>
- stdClass::__set_state(array(
+ (object) array(
'mailbox' => 'ian',
'host' => 'one',
- )),
+ ),
8 =>
- stdClass::__set_state(array(
+ (object) array(
'mailbox' => 'UNEXPECTED_DATA_AFTER_ADDRESS',
'host' => '.SYNTAX-ERROR.',
- )),
+ ),
)
Notice: Unknown: Unexpected characters at end of address: @two (errflg=3) in Unknown on line 0
diff --git a/ext/intl/tests/dateformat_format_variant2.phpt
b/ext/intl/tests/dateformat_format_variant2.phpt
index a3df39a..4e4cf7c 100644
--- a/ext/intl/tests/dateformat_format_variant2.phpt
+++ b/ext/intl/tests/dateformat_format_variant2.phpt
@@ -397,27 +397,27 @@ Date is: DateTime::__set_state(array(
------------
Formatted DateTime is : 20001230 05:04 PM
------------
-Date is: stdClass::__set_state(array(
-))
+Date is: (object) array(
+)
------------
Error while formatting as: 'datefmt_format: invalid object type for date/time (only
IntlCalendar and DateTimeInterface permitted): U_ILLEGAL_ARGUMENT_ERROR'
------------
-Date is: stdClass::__set_state(array(
-))
+Date is: (object) array(
+)
------------
Error while formatting as: 'datefmt_format: invalid object type for date/time (only
IntlCalendar and DateTimeInterface permitted): U_ILLEGAL_ARGUMENT_ERROR'
------------
-Date is: stdClass::__set_state(array(
-))
+Date is: (object) array(
+)
------------
Error while formatting as: 'datefmt_format: invalid object type for date/time (only
IntlCalendar and DateTimeInterface permitted): U_ILLEGAL_ARGUMENT_ERROR'
------------
-Date is: stdClass::__set_state(array(
-))
+Date is: (object) array(
+)
------------
Error while formatting as: 'datefmt_format: invalid object type for date/time (only
IntlCalendar and DateTimeInterface permitted): U_ILLEGAL_ARGUMENT_ERROR'
------------
-Date is: stdClass::__set_state(array(
-))
+Date is: (object) array(
+)
------------
Error while formatting as: 'datefmt_format: invalid object type for date/time (only
IntlCalendar and DateTimeInterface permitted): U_ILLEGAL_ARGUMENT_ERROR'