1
0
Fork 0
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:
Steve Buzonas 2015-04-18 18:31:16 -04:00
parent 124739d055
commit 73c1f8c0e0
2 changed files with 18 additions and 13 deletions

View file

@ -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()