From 03a7ca842f12bd2c2f3c3b909cce12b9e5ec49c8 Mon Sep 17 00:00:00 2001 From: gwoo Date: Thu, 28 Feb 2008 15:35:00 +0000 Subject: [PATCH] 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 --- cake/tests/cases/libs/folder.test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cake/tests/cases/libs/folder.test.php b/cake/tests/cases/libs/folder.test.php index a538cd489..fbdde855e 100644 --- a/cake/tests/cases/libs/folder.test.php +++ b/cake/tests/cases/libs/folder.test.php @@ -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);