Skip to content

Commit a555cc0

Browse files
committed
Clean DONE tags from tests
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
1 parent 80cfd99 commit a555cc0

File tree

2,693 files changed

+51
-5648
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,693 files changed

+51
-5648
lines changed

Zend/tests/019.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,6 @@ var_dump($global_var);
360360
//Note: No error conditions relating to passing arguments can be tested
361361
// because these are not functions but statements, it will result in syntax error.
362362
?>
363-
===DONE===
364363
--EXPECTF--
365364
*** Testing unset(), empty() & isset() with scalar variables ***
366365
-- Iteration 1 --
@@ -1330,4 +1329,3 @@ bool(false)
13301329
bool(false)
13311330
bool(true)
13321331
int(10)
1333-
===DONE===

Zend/tests/bug26166.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,9 @@ try {
6161
}
6262

6363
?>
64-
===DONE===
6564
--EXPECT--
6665
Hello World!
6766
===NONE===
6867
Method NoneTest::__toString() must return a string value
6968
===THROW===
7069
This is an error!
71-
===DONE===

Zend/tests/bug26229.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,5 @@ catch(Exception $e)
2323
echo $e->getMessage() . "\n";
2424
}
2525
?>
26-
===DONE===
2726
--EXPECT--
2827
Objects returned by array_iterator::getIterator() must be traversable or implement interface Iterator
29-
===DONE===

Zend/tests/bug26696.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,5 @@ for ($i = 0; $i < $len; $i++) {
1616
}
1717

1818
?>
19-
===DONE===
2019
--EXPECT--
2120
a-s-d-d-/-?+
22-
===DONE===

Zend/tests/bug26697.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@ spl_autoload_register(function ($name) {
1212
var_dump(class_exists('NotExistingClass'));
1313

1414
?>
15-
===DONE===
1615
--EXPECT--
1716
{closure}(NotExistingClass)
1817
bool(false)
1918
{closure}(NotExistingClass), done
2019
bool(false)
21-
===DONE===

Zend/tests/bug26698.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,7 @@ $p->callOne();
6565
$p->callTwo();
6666
$p->callThree();
6767
?>
68-
===DONE===
6968
--EXPECT--
7069
Caught: NONE
7170
Caught: NONE
7271
Caught: NONE
73-
===DONE===

Zend/tests/bug26802.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ foo::$method();
3030

3131

3232
?>
33-
===DONE===
3433
--EXPECT--
3534
global_func
3635
foo::foo_func
37-
===DONE===

Zend/tests/bug27304.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ Staticexample::test();
1616
$b->test();
1717

1818
?>
19-
===DONE===
2019
--EXPECT--
2120
bool(false)
2221
bool(false)
23-
===DONE===

Zend/tests/bug27669.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,5 @@ Bug #27669 (PHP 5 didn't support all possibilities for calling static methods dy
1010
$y[0] = 'hello';
1111
A::{$y[0]}();
1212
?>
13-
===DONE===
1413
--EXPECTF--
1514
Hello World
16-
===DONE===

Zend/tests/bug27798.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ var_dump(get_object_vars(new Base));
3232
var_dump(get_object_vars(new Child));
3333

3434
?>
35-
===DONE===
3635
--EXPECT--
3736
Base::__construct
3837
array(3) {
@@ -69,4 +68,3 @@ array(1) {
6968
["Foo"]=>
7069
int(1)
7170
}
72-
===DONE===

0 commit comments

Comments
 (0)