Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Girgias committed Sep 12, 2024
1 parent 256eba8 commit 3c4bbdf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions ext/standard/tests/file/fgetcsv_error_conditions.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ try {
?>
--EXPECTF--
fgetcsv() with negative length
fgetcsv(): Argument #2 ($length) must be between 0 and %d
fgetcsv(): Argument #2 ($length) must be between 0 and %d
fgetcsv(): Argument #2 ($length) must be between 0 and %d
fgetcsv(): Argument #2 ($length) must be a greater than or equal to 0
fgetcsv(): Argument #2 ($length) must be a greater than or equal to 0
fgetcsv(): Argument #2 ($length) must be a greater than or equal to 0
fgetcsv() with delimiter as empty string
fgetcsv(): Argument #3 ($separator) must be a single character
fgetcsv() with enclosure as empty string
Expand Down
2 changes: 1 addition & 1 deletion ext/standard/tests/file/gh15653.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ touch($filename);
$fp = fopen ($filename, "r");

try {
fgetcsv($fp, PHP_INT_MAX);
fgetcsv($fp, PHP_INT_MAX, escape: '');
} catch (\ValueError $e) {
echo $e->getMessage() . PHP_EOL;
}
Expand Down

0 comments on commit 3c4bbdf

Please sign in to comment.