fix test: a partialLoader should match the loader when neither are specified
This commit is contained in:
committed by
Justin Hileman
parent
5a3802e2a6
commit
32b747be5c
@@ -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());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user