Skip to content

Commit ac18dd0

Browse files
Prefer EXPECT over EXPECTF
1 parent fa71a11 commit ac18dd0

Some content is hidden

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

48 files changed

+54
-54
lines changed

Zend/tests/constant_arrays.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ try {
4040
echo $exception->getMessage() . "\n";
4141
}
4242
?>
43-
--EXPECTF--
43+
--EXPECT--
4444
array(4) {
4545
[0]=>
4646
int(7)

Zend/tests/fibers/fast-finish-fiber.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var_dump($fiber->getReturn());
1010
var_dump($fiber->isTerminated());
1111

1212
?>
13-
--EXPECTF--
13+
--EXPECT--
1414
bool(false)
1515
NULL
1616
string(4) "test"

Zend/tests/fibers/suspend-in-force-close-fiber-catching-exception.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ try {
2222
echo "done\n";
2323

2424
?>
25-
--EXPECTF--
25+
--EXPECT--
2626
Cannot suspend in a force-closed fiber
2727
done

Zend/tests/fibers/unfinished-fiber-with-suspend-in-finally.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ unset($fiber); // Destroy fiber object, executing finally block.
2929
echo "done\n";
3030

3131
?>
32-
--EXPECTF--
32+
--EXPECT--
3333
fiber
3434
inner finally
3535
outer finally

ext/bcmath/tests/str2num_formatting.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ try {
9393
}
9494

9595
?>
96-
--EXPECTF--
96+
--EXPECT--
9797
3
9898
3.10
9999
2.00
@@ -117,4 +117,4 @@ bccomp(): Argument #1 ($num1) is not well-formed
117117
bccomp(): Argument #1 ($num1) is not well-formed
118118
bccomp(): Argument #1 ($num1) is not well-formed
119119
bccomp(): Argument #1 ($num1) is not well-formed
120-
bccomp(): Argument #1 ($num1) is not well-formed
120+
bccomp(): Argument #1 ($num1) is not well-formed

ext/calendar/tests/bug80185.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ try {
1616
echo $ex->getMessage(), PHP_EOL;
1717
}
1818
?>
19-
--EXPECTF--
19+
--EXPECT--
2020
int(2170713600)
2121
int(9223372036854720000)
2222
jday must be between 2440588 and 106751993607888

ext/date/tests/timezone_identifiers_list_wrong_constructor.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ try {
1919
}
2020

2121
?>
22-
--EXPECTF--
22+
--EXPECT--
2323
timezone_identifiers_list(): Argument #2 ($countryCode) must be a two-letter ISO 3166-1 compatible country code when argument #1 ($timezoneGroup) is DateTimeZone::PER_COUNTRY
2424
timezone_identifiers_list(): Argument #2 ($countryCode) must be a two-letter ISO 3166-1 compatible country code when argument #1 ($timezoneGroup) is DateTimeZone::PER_COUNTRY

ext/dom/tests/bug66783.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ try {
1313
echo $ex->getMessage(), PHP_EOL;
1414
}
1515
?>
16-
--EXPECTF--
16+
--EXPECT--
1717
Hierarchy Request Error

ext/dom/tests/bug80600.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ $doc = new \DOMDocument();
99
$doc->loadXML('<a><!-- foo --></a>');
1010
$doc->documentElement->firstChild->remove();
1111
echo $doc->saveXML($doc->documentElement);
12-
--EXPECTF--
12+
--EXPECT--
1313
<a/>

ext/exif/tests/bug75785/bug75785.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ echo $tags['GPS']['GPSLatitude'][0] . PHP_EOL;
1111
echo $tags['GPS']['GPSLongitude'][0] . PHP_EOL;
1212
?>
1313
===DONE===
14-
--EXPECTF--
14+
--EXPECT--
1515
38/1
1616
122/1
1717
===DONE===

0 commit comments

Comments
 (0)