summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-09-15 19:49:58 +0000
committerfoobar <sniper@php.net>2005-09-15 19:49:58 +0000
commitae281c372af67b9053dc7a08136f9db2454d8fd5 (patch)
tree2a38de0fa448fbf3160acc4efbc68a40e606ad8e /tests
parent7199bc5f86e337dcc23025f538ac8da0526908b5 (diff)
downloadphp-git-ae281c372af67b9053dc7a08136f9db2454d8fd5.tar.gz
- Fix tests due to changes in the error messages.
# Also nuked some CRLF's
Diffstat (limited to 'tests')
-rw-r--r--tests/classes/type_hinting_001.phpt2
-rw-r--r--tests/lang/bug24658.phpt2
-rw-r--r--tests/lang/type_hints_001.phpt2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/classes/type_hinting_001.phpt b/tests/classes/type_hinting_001.phpt
index c46e420ab6..82241298d8 100644
--- a/tests/classes/type_hinting_001.phpt
+++ b/tests/classes/type_hinting_001.phpt
@@ -35,4 +35,4 @@ $a->b($b);
?>
--EXPECTF--
-Fatal error: Argument 1 must implement interface Foo, called in %s on line 27 and defined in %s on line 12
+Fatal error: Argument 1 passed to FooBar::a() must implement interface Foo, called in %s on line 27 and defined in %s on line 12
diff --git a/tests/lang/bug24658.phpt b/tests/lang/bug24658.phpt
index 399fd32cac..d9bf0f5668 100644
--- a/tests/lang/bug24658.phpt
+++ b/tests/lang/bug24658.phpt
@@ -53,4 +53,4 @@ int(2)
object(foo)#%d (0) {
}
-Fatal error: Argument 1 must be an object of class foo in %s on line %d
+Fatal error: Argument 1 passed to typehint() must be an object of class foo in %s on line %d
diff --git a/tests/lang/type_hints_001.phpt b/tests/lang/type_hints_001.phpt
index 2aea3e703e..2b5f6c8287 100644
--- a/tests/lang/type_hints_001.phpt
+++ b/tests/lang/type_hints_001.phpt
@@ -23,4 +23,4 @@ type_hint_foo($bar);
?>
--EXPECTF--
-Fatal error: Argument 1 must be an instance of Foo, called in %s on line 16 and defined in %s on line 9
+Fatal error: Argument 1 passed to type_hint_foo() must be an instance of Foo, called in %s on line 16 and defined in %s on line 9