Browse Source

Trailing slash test fix.

I suppose it would help if I didn't realpath the thing I was testing for realpathness
Justin Hileman 12 năm trước cách đây
mục cha
commit
1d21de63d6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      test/Mustache/Test/Loader/FilesystemLoaderTest.php

+ 1 - 1
test/Mustache/Test/Loader/FilesystemLoaderTest.php

@@ -24,7 +24,7 @@ class Mustache_Test_Loader_FilesystemLoaderTest extends PHPUnit_Framework_TestCa
 
     public function testTrailingSlashes()
     {
-        $baseDir = realpath(dirname(__FILE__).'/../../../fixtures/templates/');
+        $baseDir = dirname(__FILE__).'/../../../fixtures/templates/';
         $loader = new Mustache_Loader_FilesystemLoader($baseDir);
         $this->assertEquals('one contents', $loader->load('one'));
     }