Skip to content

Commit

Permalink
Fix expected error message
Browse files Browse the repository at this point in the history
These are slightly changed as of PHP 8.0.0.
  • Loading branch information
cmb69 committed Apr 19, 2021
1 parent cb262cd commit 8a7b786
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ext/standard/tests/dir/bug80960.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ opendir(str_pad("longname", PHP_MAXPATHLEN - strlen(getcwd()), "_"));
--EXPECTF--
Warning: opendir(notexist*): %s (code: 123) in %s on line %d

Warning: opendir(notexist*): failed to open dir: No such file or directory in %s on line %d
Warning: opendir(notexist*): Failed to open directory: No such file or directory in %s on line %d

Warning: opendir(notexist?): %s (code: 123) in %s on line %d

Warning: opendir(notexist?): failed to open dir: No such file or directory in %s on line %d
Warning: opendir(notexist?): Failed to open directory: No such file or directory in %s on line %d

Warning: opendir(longname%r_+%r): %s (code: 111) in %s on line %d

Warning: opendir(longname%r_+%r): failed to open dir: Filename too long in %s on line %d
Warning: opendir(longname%r_+%r): Failed to open directory: Filename too long in %s on line %d

0 comments on commit 8a7b786

Please sign in to comment.