replace __DIR__ with dirname(__FILE__)

This commit is contained in:
scribu
2012-03-17 23:05:52 -07:00
committed by Justin Hileman
parent bec9ce8448
commit 550da21455
8 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ class Mustache_Test_AutoloaderTest extends PHPUnit_Framework_TestCase {
}
public function testAutoloader() {
$loader = new Mustache_Autoloader(__DIR__.'/../../fixtures/autoloader');
$loader = new Mustache_Autoloader(dirname(__FILE__).'/../../fixtures/autoloader');
$this->assertNull($loader->autoload('NonMustacheClass'));
$this->assertFalse(class_exists('NonMustacheClass'));