com php-src: Fix a few missed tests.: ext/intl/tests/formatter _fail.phpt ext/intl/tests/msgfmt_fail.phpt ext/intl /tests/msgfmt_fail2.phpt
sapi/cli/tests/005.php t

From: Date: Sun, 17 May 2015 03:04:16 +0000
Subject: com php-src: Fix a few missed tests.: ext/intl/tests/formatter _fail.phpt ext/intl/tests/msgfmt_fail.phpt ext/intl /tests/msgfmt_fail2.phpt
sapi/cli/tests/005.php t
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-87342@lists.php.net to get a copy of this message
Commit: 434a46612e05c079da1116960cf2a2d28f4d8256 Author: Aaron Piotrowski <aaron@trowski.com> Sat, 16 May 2015 21:57:14 -0500 Parents: b965bab9f143edceec285bf56b681c839b02f288 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=434a46612e05c079da1116960cf2a2d28f4d8256 Log: Fix a few missed tests. Changed paths: M ext/intl/tests/formatter_fail.phpt M ext/intl/tests/msgfmt_fail.phpt M ext/intl/tests/msgfmt_fail2.phpt M sapi/cli/tests/005.phpt Diff: diff --git a/ext/intl/tests/formatter_fail.phpt b/ext/intl/tests/formatter_fail.phpt index 2e3360f..72335e2 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 8ee72d1..daeaa8f 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 87c1ede..5dcd09c 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 b7825e6..051605f 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] { }

« previous php.cvs (#87342) next »