summaryrefslogtreecommitdiff
path: root/ext/intl/tests/breakiter___construct_error.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/intl/tests/breakiter___construct_error.phpt
parentd042d0880796cfe99262bb6fa44225e984c63ace (diff)
downloadphp-git-64b167d201e567ec213b5aa37c66536621835331.tar.gz
Updated tests to reflect exception class changes.
Diffstat (limited to 'ext/intl/tests/breakiter___construct_error.phpt')
-rw-r--r--ext/intl/tests/breakiter___construct_error.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/intl/tests/breakiter___construct_error.phpt b/ext/intl/tests/breakiter___construct_error.phpt
index 7e67fd7403..1e865cc9d9 100644
--- a/ext/intl/tests/breakiter___construct_error.phpt
+++ b/ext/intl/tests/breakiter___construct_error.phpt
@@ -19,17 +19,17 @@ try {
}
try {
var_dump(new IntlRuleBasedBreakIterator());
-} catch (TypeException $e) {
+} catch (TypeError $e) {
print_exception($e);
}
try {
var_dump(new IntlRuleBasedBreakIterator(1,2,3));
-} catch (TypeException $e) {
+} catch (TypeError $e) {
print_exception($e);
}
try {
var_dump(new IntlRuleBasedBreakIterator('[\p{Letter}\uFFFD]+;[:number:]+;', array()));
-} catch (TypeException $e) {
+} catch (TypeError $e) {
print_exception($e);
}
try {