fix test: a partialLoader should match the loader when neither are specified

This commit is contained in:
Matt DeClaire
2013-03-12 15:19:12 -07:00
committed by Justin Hileman
parent 5a3802e2a6
commit 32b747be5c
+1 -1
View File
@@ -104,7 +104,7 @@ class Mustache_Test_EngineTest extends PHPUnit_Framework_TestCase
$mustache->setLoader($loader); $mustache->setLoader($loader);
$this->assertSame($loader, $mustache->getLoader()); $this->assertSame($loader, $mustache->getLoader());
$this->assertNotSame($loader, $mustache->getPartialsLoader()); $this->assertSame($loader, $mustache->getPartialsLoader());
$mustache->setPartialsLoader($loader); $mustache->setPartialsLoader($loader);
$this->assertSame($loader, $mustache->getPartialsLoader()); $this->assertSame($loader, $mustache->getPartialsLoader());