1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Revert "Merge pull request #3975 from marc-mabe/hotfix/3974"

This reverts commit bdb6ecb29e, reversing
changes made to 8a12e50a16.
This commit is contained in:
Nicolas Grekas 2015-08-04 10:34:54 +02:00
parent 06feb19b2c
commit fbae6b1589
4 changed files with 4 additions and 27 deletions

View file

@ -9,17 +9,6 @@ use Composer\Autoload\ClassLoader;
*/
class ClassLoaderTest extends \PHPUnit_Framework_TestCase
{
public function testLoadClassDotPhp()
{
$loader = new ClassLoader();
$loader->add('DirDotPhp\\', __DIR__ . '/Fixtures');
$loader->addPsr4('DirDotPhp\\', __DIR__ . '/Fixtures/DirDotPhp/psr4');
$class = 'DirDotPhp\\Dir';
$loader->loadClass($class);
$this->assertTrue(class_exists($class, false), "->loadClass() loads '$class'.");
}
/**
* Tests regular PSR-0 and PSR-4 class loading.
*