mirror of
https://github.com/composer/composer
synced 2025-05-11 01:22:54 +00:00
prefer strings for install handling when possible
This commit is contained in:
parent
124739d055
commit
73c1f8c0e0
2 changed files with 18 additions and 13 deletions
|
@ -116,8 +116,9 @@ class ConfigTest extends \PHPUnit_Framework_TestCase
|
|||
{
|
||||
$config = new Config(false);
|
||||
$config->merge(array('config' => array('preferred-install' => 'source')));
|
||||
$config->merge(array('config' => array('preferred-install' => 'dist')));
|
||||
|
||||
$this->assertEquals(array('*' => 'source'), $config->get('preferred-install'));
|
||||
$this->assertEquals('dist', $config->get('preferred-install'));
|
||||
}
|
||||
|
||||
public function testMergePreferredInstall()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue