Skip to content

Commit b771a18

Browse files
committed
Fix test
1 parent 0e6c065 commit b771a18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/spl/tests/bug54291.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Bug #54291 (Crash iterating DirectoryIterator for dir name starting with \0)
55
$dir = new DirectoryIterator("\x00/abc");
66
$dir->isFile();
77
--EXPECTF--
8-
Fatal error: Uncaught UnexpectedValueException: Failed to open directory "" in %s:%d
8+
Fatal error: Uncaught UnexpectedValueException: DirectoryIterator::__construct() expects parameter 1 to be a valid path, string given in %s:%d
99
Stack trace:
1010
#0 %s(%d): DirectoryIterator->__construct('\x00/abc')
1111
#1 {main}

0 commit comments

Comments
 (0)