Skip to content

Commit

Permalink
add more test to _basename
Browse files Browse the repository at this point in the history
test for "rtrim($name, $ext) === ''" section
  • Loading branch information
saeideng committed Mar 22, 2018
1 parent 56271d9 commit 43df017
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/TestCase/Filesystem/FileTest.php
Expand Up @@ -177,6 +177,7 @@ public function baseNameValueProvider()
['/نام فارسی.txt', '.txt'],
//
['/etc/sudoers.d', null],
['/etc/.d', '.d'],
['/etc/sudoers.d', '.d'],
['/etc/passwd', null],
['/etc/', null],
Expand Down

0 comments on commit 43df017

Please sign in to comment.