Skip to content
Permalink
Browse files

add more test to _basename

test for "rtrim($name, $ext) === ''" section
  • Loading branch information...
saeideng committed Feb 26, 2018
1 parent 56271d9 commit 43df0176da72c2127f862b716454b7f18aaadb2b
Showing with 1 addition and 0 deletions.
  1. +1 −0 tests/TestCase/Filesystem/FileTest.php
@@ -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],

0 comments on commit 43df017

Please sign in to comment.
You can’t perform that action at this time.