summaryrefslogtreecommitdiff
path: root/Zend/tests/assert/expect_005.phpt
diff options
context:
space:
mode:
authorAaron Piotrowski <aaron@trowski.com>2015-06-14 23:52:39 -0500
committerAaron Piotrowski <aaron@trowski.com>2015-06-14 23:52:39 -0500
commit482985ca38a46cef833e9f8be81f909790c8441e (patch)
tree12bc8b5d8597fc2dd631bf2f54650f158e0a2ca2 /Zend/tests/assert/expect_005.phpt
parent4d590ac35a3a68b8b453cd9bbf3f1300c2507d87 (diff)
downloadphp-git-482985ca38a46cef833e9f8be81f909790c8441e.tar.gz
Changed AssertionException to AssertionError
Diffstat (limited to 'Zend/tests/assert/expect_005.phpt')
-rw-r--r--Zend/tests/assert/expect_005.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/tests/assert/expect_005.phpt b/Zend/tests/assert/expect_005.phpt
index 0a296d66b1..f2c91f2566 100644
--- a/Zend/tests/assert/expect_005.phpt
+++ b/Zend/tests/assert/expect_005.phpt
@@ -8,7 +8,7 @@ assert.exception=1
try {
/* by passing we test there are no leaks upon success */
assert(true, "I require this to succeed");
-} catch (AssertionException $ex) {
+} catch (AssertionError $ex) {
var_dump($ex->getMessage());
}
var_dump(true);