summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Piotrowski <aaron@trowski.com>2015-05-16 21:57:14 -0500
committerAaron Piotrowski <aaron@trowski.com>2015-05-16 22:04:16 -0500
commit434a46612e05c079da1116960cf2a2d28f4d8256 (patch)
treef6561553a1c5f66d8702c79eaf9e06008d3ea1bd
parentb965bab9f143edceec285bf56b681c839b02f288 (diff)
downloadphp-git-434a46612e05c079da1116960cf2a2d28f4d8256.tar.gz
Fix a few missed tests.
-rw-r--r--ext/intl/tests/formatter_fail.phpt2
-rw-r--r--ext/intl/tests/msgfmt_fail.phpt2
-rw-r--r--ext/intl/tests/msgfmt_fail2.phpt2
-rw-r--r--sapi/cli/tests/005.phpt2
4 files changed, 4 insertions, 4 deletions
diff --git a/ext/intl/tests/formatter_fail.phpt b/ext/intl/tests/formatter_fail.phpt
index 2e3360f3c7..72335e2022 100644
--- a/ext/intl/tests/formatter_fail.phpt
+++ b/ext/intl/tests/formatter_fail.phpt
@@ -21,7 +21,7 @@ function crt($t, $l, $s) {
case $t == "O":
try {
return new NumberFormatter($l, $s);
- } catch (BaseException $e) {
+ } catch (Throwable $e) {
print_exception($e);
return null;
}
diff --git a/ext/intl/tests/msgfmt_fail.phpt b/ext/intl/tests/msgfmt_fail.phpt
index 8ee72d1ef5..daeaa8f677 100644
--- a/ext/intl/tests/msgfmt_fail.phpt
+++ b/ext/intl/tests/msgfmt_fail.phpt
@@ -22,7 +22,7 @@ function crt($t, $l, $s) {
case $t == "O":
try {
return new MessageFormatter($l, $s);
- } catch (BaseException $e) {
+ } catch (Throwable $e) {
print_exception($e);
return null;
}
diff --git a/ext/intl/tests/msgfmt_fail2.phpt b/ext/intl/tests/msgfmt_fail2.phpt
index 87c1edec75..5dcd09ccc8 100644
--- a/ext/intl/tests/msgfmt_fail2.phpt
+++ b/ext/intl/tests/msgfmt_fail2.phpt
@@ -22,7 +22,7 @@ function crt($t, $l, $s) {
case $t == "O":
try {
return new MessageFormatter($l, $s);
- } catch (BaseException $e) {
+ } catch (Throwable $e) {
print_exception($e);
return null;
}
diff --git a/sapi/cli/tests/005.phpt b/sapi/cli/tests/005.phpt
index b7825e673f..051605f70a 100644
--- a/sapi/cli/tests/005.phpt
+++ b/sapi/cli/tests/005.phpt
@@ -40,7 +40,7 @@ string(183) "Class [ <internal:Core> class stdClass ] {
}
"
-string(1368) "Class [ <internal:Core> class Exception implements Throwable ] {
+string(1376) "Class [ <internal:Core> class Exception implements Throwable ] {
- Constants [0] {
}