From: Felipe Pena Date: Mon, 10 Nov 2008 15:07:09 +0000 (+0000) Subject: - Fixed tests (thanks Timm) X-Git-Tag: BEFORE_HEAD_NS_CHANGE~26 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cd092a828725f3d6e3fd0d35f6c8145210dbc63c;p=php - Fixed tests (thanks Timm) --- diff --git a/Zend/tests/ns_071.phpt b/Zend/tests/ns_071.phpt index 1fb266dc2d..f31e0cc683 100644 --- a/Zend/tests/ns_071.phpt +++ b/Zend/tests/ns_071.phpt @@ -18,4 +18,4 @@ new bar(new stdclass); --EXPECTF-- NULL -Catchable fatal error: Argument 1 passed to foo::bar::__construct() must be an array, object given, called in %s on line %d and defined in %s on line %d +Catchable fatal error: Argument 1 passed to foo\bar::__construct() must be an array, object given, called in %s on line %d and defined in %s on line %d diff --git a/Zend/tests/ns_072.phpt b/Zend/tests/ns_072.phpt index b6f89a2cf7..aaba0ddb5f 100644 --- a/Zend/tests/ns_072.phpt +++ b/Zend/tests/ns_072.phpt @@ -26,8 +26,8 @@ new bar(new stdclass); ?> --EXPECTF-- -object(foo::test)#%d (0) { +object(foo\test)#%d (0) { } NULL -Catchable fatal error: Argument 1 passed to foo::bar::__construct() must implement interface foo::foo, instance of stdClass given, called in %s on line %d and defined in %s on line %d +Catchable fatal error: Argument 1 passed to foo\bar::__construct() must implement interface foo\foo, instance of stdClass given, called in %s on line %d and defined in %s on line %d