Trailing slash test fix.
I suppose it would help if I didn't realpath the thing I was testing for realpathness
This commit is contained in:
@@ -24,7 +24,7 @@ class Mustache_Test_Loader_FilesystemLoaderTest extends PHPUnit_Framework_TestCa
|
|||||||
|
|
||||||
public function testTrailingSlashes()
|
public function testTrailingSlashes()
|
||||||
{
|
{
|
||||||
$baseDir = realpath(dirname(__FILE__).'/../../../fixtures/templates/');
|
$baseDir = dirname(__FILE__).'/../../../fixtures/templates/';
|
||||||
$loader = new Mustache_Loader_FilesystemLoader($baseDir);
|
$loader = new Mustache_Loader_FilesystemLoader($baseDir);
|
||||||
$this->assertEquals('one contents', $loader->load('one'));
|
$this->assertEquals('one contents', $loader->load('one'));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user