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