]> khamidou — GitHub mirrors - arcanist.git/commitdiff
In Arcanist, ignore extensions when unit testing the library map
authorepriestley <git@epriestley.com>
Sun, 6 Jul 2014 13:21:55 +0000 (06:21 -0700)
committerepriestley <git@epriestley.com>
Sun, 6 Jul 2014 13:21:55 +0000 (06:21 -0700)
Summary: See D9834. Arcanist version.

Test Plan: See D9834.

Reviewers: joshuaspence

Reviewed By: joshuaspence

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D9835

src/__tests__/ArcanistInfrastructureTestCase.php

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