diff options
author | Stanislav Malyshev <stas@php.net> | 2019-11-30 15:37:28 -0800 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2019-12-17 13:11:28 +0100 |
commit | 8877854ef2f18c008ac6ab171ac156966dc01296 (patch) | |
tree | e72b4b358d88bda011ef2a2a5810250ee70d903b | |
parent | 2517a7e213df64e003d3e73c17be54be8fa7e3b0 (diff) | |
download | php-git-8877854ef2f18c008ac6ab171ac156966dc01296.tar.gz |
Fix test
(cherry picked from commit b771a18133bdfd95ce36932e5b83a724f17a1427)
-rw-r--r-- | ext/spl/tests/bug54291.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/tests/bug54291.phpt b/ext/spl/tests/bug54291.phpt index b15a3723d4..b4c1a2dc4b 100644 --- a/ext/spl/tests/bug54291.phpt +++ b/ext/spl/tests/bug54291.phpt @@ -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} |