Преглед на файлове

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'));
     }