Skip to content

Commit 537a84f

Browse files
committed
Added several octal notation to test the permission flag resolve against
1 parent 177f3eb commit 537a84f

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

tests/PermissionFlagResolverTest.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,22 @@ public function testResolveProvider()
8585
'rwxrwxrw-',
8686
510,
8787
],
88+
[
89+
'rw-rw-rw-',
90+
0666,
91+
],
92+
[
93+
'rwxrwxrwx',
94+
0777,
95+
],
96+
[
97+
'rwxrwx---',
98+
0770,
99+
],
100+
[
101+
'rw-rw-r--',
102+
0664,
103+
],
88104
];
89105
}
90106

0 commit comments

Comments
 (0)