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 commitbdb6ecb29e
, reversing changes made to8a12e50a16
.
This commit is contained in:
parent
06feb19b2c
commit
fbae6b1589
4 changed files with 4 additions and 27 deletions
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue