updating folder test for inPath, fixes #3922

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6487 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2008-02-28 15:35:00 +00:00
parent 815983cd74
commit 03a7ca842f

View file

@ -66,9 +66,9 @@ class FolderTest extends UnitTestCase {
$this->assertTrue($result);
$result = $Folder->realpath('tests/');
$this->assertEqual($result, $path . DS .'tests/');
$this->assertEqual($result, $path . DS .'tests' . DS);
$result = $Folder->inPath('tests/');
$result = $Folder->inPath('tests' . DS);
$this->assertTrue($result);
$result = $Folder->inPath(DS . 'non-existing' . $inside);