Skip to content

Commit 0c6d06e

Browse files
committed
Replace EXPECTF when possible
Closes GH-5779
1 parent 24a8065 commit 0c6d06e

File tree

102 files changed

+106
-111
lines changed

Some content is hidden

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

102 files changed

+106
-111
lines changed

Zend/tests/attributes/004_name_resolution.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ namespace {
4040
dump_attributes((new ReflectionFunction('Foo\foo'))->getAttributes());
4141
}
4242
?>
43-
--EXPECTF--
43+
--EXPECT--
4444
array(5) {
4545
[0]=>
4646
array(2) {

Zend/tests/attributes/007_self_reflect_attribute.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ foreach ($attributes as $attribute) {
1414
var_dump(get_class($a));
1515
var_dump($a->flags == Attribute::TARGET_ALL);
1616
}
17-
--EXPECTF--
17+
--EXPECT--
1818
string(9) "Attribute"
1919
array(0) {
2020
}

ext/calendar/tests/jdtomonthname.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ foreach ($jd_days as $jd_day) {
2626
echo "Done\n";
2727

2828
?>
29-
--EXPECTF--
29+
--EXPECT--
3030
=== 2453396
3131
string(3) "Jan"
3232
string(7) "January"

ext/curl/tests/curl_copy_handle_variation4.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ curl_multi_remove_handle($mh, $ch3);
3737
curl_multi_close($mh);
3838
?>
3939
===DONE===
40-
--EXPECTF--
40+
--EXPECT--
4141
bool(true)
4242
АБВ.txt|application/octet-stream|5АБВ.txt|application/octet-stream|5===DONE===
4343
--CLEAN--

ext/curl/tests/curl_multi_close_basic001.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ var_dump($multi_close_result);
1313
var_dump($cmh);
1414
curl_multi_close($cmh);
1515
?>
16-
--EXPECTF--
16+
--EXPECT--
1717
object(CurlMultiHandle)#1 (0) {
1818
}
1919
NULL

ext/curl/tests/curl_multi_init_basic.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var_dump($mh);
1818
curl_multi_close($mh);
1919
var_dump($mh);
2020
?>
21-
--EXPECTF--
21+
--EXPECT--
2222
*** Testing curl_multi_init(void); ***
2323
object(CurlMultiHandle)#1 (0) {
2424
}

ext/date/tests/bug52062.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var_dump($d->getTimestamp());
2424
$i = new DateInterval('PT100000000000S');
2525
var_dump($i->format('%s'));
2626
?>
27-
--EXPECTF--
27+
--EXPECT--
2828
string(32) "5138-11-16 09:46:40 100000000000"
2929
bool(false)
3030
string(12) "100000000000"

ext/dba/tests/dba_handlers.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ foreach ($h as $key => $val) {
5050
<?php
5151
require(__DIR__ .'/clean.inc');
5252
?>
53-
--EXPECTF--
53+
--EXPECT--
5454
database handler: flatfile
5555
Test 1
5656
Success: flatfile enabled

ext/dba/tests/dba_optimize.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if (($db_file=dba_open($db_filename, "n", $handler))!==FALSE) {
3434
<?php
3535
require(__DIR__ .'/clean.inc');
3636
?>
37-
--EXPECTF--
37+
--EXPECT--
3838
database handler: flatfile
3939
2YY
4040
bool(true)

ext/dba/tests/dba_split.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ var_dump(dba_key_split("[key1]name1[key2]name2"));
1919
var_dump(dba_key_split("[key1]name1"));
2020

2121
?>
22-
--EXPECTF--
22+
--EXPECT--
2323
array(2) {
2424
[0]=>
2525
string(0) ""

0 commit comments

Comments
 (0)