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:
Justin Hileman
2013-07-15 18:11:36 -04:00
parent 911151ad78
commit 1d21de63d6
@@ -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'));
} }