From f82be0550b573027b1fb8ef106e7c8efc78878e1 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Tue, 14 Aug 2012 14:08:38 +0800 Subject: [PATCH] add test for alone try block, and update test scripts summary --- Zend/tests/try_catch_finally_002.phpt | 2 +- Zend/tests/try_catch_finally_003.phpt | 2 +- Zend/tests/try_catch_finally_004.phpt | 2 +- Zend/tests/try_finally_004.phpt | 14 ++++++++++++++ 4 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 Zend/tests/try_finally_004.phpt diff --git a/Zend/tests/try_catch_finally_002.phpt b/Zend/tests/try_catch_finally_002.phpt index 94143f6fd1..79efcb3de8 100644 --- a/Zend/tests/try_catch_finally_002.phpt +++ b/Zend/tests/try_catch_finally_002.phpt @@ -1,5 +1,5 @@ --TEST-- -Try catch finally +Try catch finally catch(multi catch blocks) --FILE-- +--EXPECTF-- +Fatal error: Cannot use try without catch or finally in %stry_finally_004.php on line %d -- 2.50.1