1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-25 16:22:42 +01:00

In Arcanist, ignore extensions when unit testing the library map

Summary: See D9834. Arcanist version.

Test Plan: See D9834.

Reviewers: joshuaspence

Reviewed By: joshuaspence

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D9835
This commit is contained in:
epriestley 2014-07-06 06:21:55 -07:00
parent 9bac06cf60
commit ac73fb8cbd

View file

@ -25,7 +25,7 @@ final class ArcanistInfrastructureTestCase extends ArcanistTestCase {
->buildMap(); ->buildMap();
$bootloader = PhutilBootloader::getInstance(); $bootloader = PhutilBootloader::getInstance();
$old_library_map = $bootloader->getLibraryMap('arcanist'); $old_library_map = $bootloader->getLibraryMapWithoutExtensions('arcanist');
unset($old_library_map[PhutilLibraryMapBuilder::LIBRARY_MAP_VERSION_KEY]); unset($old_library_map[PhutilLibraryMapBuilder::LIBRARY_MAP_VERSION_KEY]);
$this->assertEqual( $this->assertEqual(