summaryrefslogtreecommitdiff
path: root/ext/spl/tests/SplFixedArray__construct_param_array.phpt
diff options
context:
space:
mode:
authorAaron Piotrowski <aaron@trowski.com>2015-05-16 16:49:14 -0500
committerAaron Piotrowski <aaron@trowski.com>2015-05-16 16:49:14 -0500
commit64b167d201e567ec213b5aa37c66536621835331 (patch)
tree272d6f3951625ef7bc82eba08bad64aef9b883d2 /ext/spl/tests/SplFixedArray__construct_param_array.phpt
parentd042d0880796cfe99262bb6fa44225e984c63ace (diff)
downloadphp-git-64b167d201e567ec213b5aa37c66536621835331.tar.gz
Updated tests to reflect exception class changes.
Diffstat (limited to 'ext/spl/tests/SplFixedArray__construct_param_array.phpt')
-rw-r--r--ext/spl/tests/SplFixedArray__construct_param_array.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/tests/SplFixedArray__construct_param_array.phpt b/ext/spl/tests/SplFixedArray__construct_param_array.phpt
index e1515c4039..b15579edca 100644
--- a/ext/spl/tests/SplFixedArray__construct_param_array.phpt
+++ b/ext/spl/tests/SplFixedArray__construct_param_array.phpt
@@ -7,7 +7,7 @@ PHPNW Test Fest 2009 - Jordan Hatch
try {
$array = new SplFixedArray( array("string", 1) );
-} catch (TypeException $iae) {
+} catch (TypeError $iae) {
echo "Ok - ".$iae->getMessage().PHP_EOL;
}