com php-src: Fix tests on Windows: Zend/tests/object_types/re turn_type_inheritance_in_class.phpt Zend/tests/obje
ct_types/return_type_inheritance_in_interface.phpt
| From: | Nikita Popov | Date: | Sun, 25 Jun 2017 22:22:14 +0000 |
| Subject: | com php-src: Fix tests on Windows: Zend/tests/object_types/re turn_type_inheritance_in_class.phpt Zend/tests/obje ct_types/return_type_inheritance_in_interface.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-98226@lists.php.net to get a copy of this message | ||
Commit: b3849edf2ce168740256c48ee0a4631bb56086b8
Author: Nikita Popov <nikita.ppv@gmail.com> Mon, 26 Jun 2017 00:22:14 +0200
Parents: ecaf408d30af119c04c67bf99790655a1e818472
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b3849edf2ce168740256c48ee0a4631bb56086b8
Log:
Fix tests on Windows
Changed paths:
M Zend/tests/object_types/return_type_inheritance_in_class.phpt
M Zend/tests/object_types/return_type_inheritance_in_interface.phpt
Diff:
diff --git a/Zend/tests/object_types/return_type_inheritance_in_class.phpt
b/Zend/tests/object_types/return_type_inheritance_in_class..phpt
index 152c4f9..826758f 100644
--- a/Zend/tests/object_types/return_type_inheritance_in_class.phpt
+++ b/Zend/tests/object_types/return_type_inheritance_in_class.phpt
@@ -23,4 +23,4 @@ Fatal error: Uncaught TypeError: Return value of class@anonymous::a() must be an
Stack trace:
#0 %s(16): class@anonymous->a()
#1 {main}
- thrown in /%s on line 13
+ thrown in %s on line 13
diff --git a/Zend/tests/object_types/return_type_inheritance_in_interface.phpt
b/Zend/tests/object_types/return_type_inheritance_in_interface.phpt
index 2631ec8..fe1f6e6 100644
--- a/Zend/tests/object_types/return_type_inheritance_in_interface.phpt
+++ b/Zend/tests/object_types/return_type_inheritance_in_interface.phpt
@@ -23,4 +23,4 @@ Fatal error: Uncaught TypeError: Return value of class@anonymous::a() must be an
Stack trace:
#0 %s(16): class@anonymous->a()
#1 {main}
- thrown in /%s on line 13
+ thrown in %s on line 13