Skip to content

Commit 78613d4

Browse files
committed
Fix regex for NIX type systems?
1 parent 6b793da commit 78613d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/standard/tests/file/unlink_error.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,6 @@ bool(false)
101101

102102
-- Testing unlink() on directory --
103103

104-
Warning: unlink(): %r(\(%s/unlink_error\) Is a directory|Operation not permitted \(%s/unlink_error\))%r in %s on line %d
104+
Warning: unlink(): %r(Is a directory |)%r(%s/unlink_error)%r(| Operation not permitted)%r in %s on line %d
105105
bool(false)
106106
Done

ext/standard/tests/file/unlink_variation10.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,5 +102,5 @@ directory unlinked
102102

103103
--- try to unlink a directory ---
104104

105-
Warning: unlink(): %r(\(unlinkVar10.tmp/linkme.tmp\) Is a directory|Operation not permitted \(unlinkVar10.tmp/linkme.tmp\))%r in %s on line %d
105+
Warning: unlink(): %r(Is a directory |)%r(unlinkVar10.tmp/linkme.tmp)%r(| Operation not permitted)%r in %s on line %d
106106
===DONE===

0 commit comments

Comments
 (0)