Skip to content

Commit e23ad4e

Browse files
committed
Add "Done" output to distinguish hard from soft failures
1 parent 98e4ecb commit e23ad4e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Zend/tests/use_const/define_imported_before.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ namespace {
99
use const foo\bar;
1010
}
1111

12+
namespace {
13+
echo "Done";
14+
}
15+
1216
?>
1317
--EXPECTF--
1418
Fatal error: Cannot use const foo\bar as bar because the name is already in use in %s on line %d

Zend/tests/use_function/define_imported_before.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ namespace {
99
use function foo\bar;
1010
}
1111

12+
namespace {
13+
echo "Done";
14+
}
15+
1216
?>
1317
--EXPECTF--
1418
Fatal error: Cannot use function foo\bar as bar because the name is already in use in %s on line %d

0 commit comments

Comments
 (0)