summaryrefslogtreecommitdiff
path: root/ext/fileinfo/tests/finfo_open_001.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fileinfo/tests/finfo_open_001.phpt')
-rw-r--r--ext/fileinfo/tests/finfo_open_001.phpt6
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/fileinfo/tests/finfo_open_001.phpt b/ext/fileinfo/tests/finfo_open_001.phpt
index ef36bc21f0..c7c73c1b5c 100644
--- a/ext/fileinfo/tests/finfo_open_001.phpt
+++ b/ext/fileinfo/tests/finfo_open_001.phpt
@@ -20,8 +20,10 @@ var_dump(finfo_open(FILEINFO_MIME, '/foo/bar/inexistent'));
?>
--EXPECTF--
finfo_open(): Argument #2 ($magic_database) must not contain any null bytes
-resource(%d) of type (file_info)
-resource(%d) of type (file_info)
+object(finfo)#%d (0) {
+}
+object(finfo)#%d (0) {
+}
Warning: finfo_open(%s123): Failed to open stream: No such file or directory in %s on line %d