diff options
author | Dmitry Stogov <dmitry@zend.com> | 2018-07-12 17:17:09 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2018-07-12 17:17:09 +0300 |
commit | 571dac8c8f1a7519cf0ede8befd22a0f91416172 (patch) | |
tree | 66ffd79cc05220e376e14463e7dd8358be14c226 | |
parent | 5e8977bd626105fb45b54d9d65ef48a31d5e15ec (diff) | |
download | php-git-571dac8c8f1a7519cf0ede8befd22a0f91416172.tar.gz |
Fixed tests
-rw-r--r-- | ext/imap/tests/bug46918.phpt | 36 | ||||
-rw-r--r-- | ext/intl/tests/dateformat_format_variant2.phpt | 20 |
2 files changed, 28 insertions, 28 deletions
diff --git a/ext/imap/tests/bug46918.phpt b/ext/imap/tests/bug46918.phpt index 351becaf00..71fac50433 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 a3df39aa95..4e4cf7c02d 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' |