Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
(cherry picked from commit b771a18)
  • Loading branch information
smalyshev authored and remicollet committed Dec 17, 2019
1 parent 2517a7e commit 8877854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/spl/tests/bug54291.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Bug #54291 (Crash iterating DirectoryIterator for dir name starting with \0)
$dir = new DirectoryIterator("\x00/abc");
$dir->isFile();
--EXPECTF--
Fatal error: Uncaught UnexpectedValueException: Failed to open directory "" in %s:%d
Fatal error: Uncaught UnexpectedValueException: DirectoryIterator::__construct() expects parameter 1 to be a valid path, string given in %s:%d
Stack trace:
#0 %s(%d): DirectoryIterator->__construct('\x00/abc')
#1 {main}
Expand Down

0 comments on commit 8877854

Please sign in to comment.