ソースを参照

Trailing slash test fix.

I suppose it would help if I didn't realpath the thing I was testing for realpathness
Justin Hileman 12 年 前
コミット
1d21de63d6
1 ファイル変更1 行追加1 行削除
  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'));
     }