]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Specify the `config` property of `lint-test` files as a `map`
authorJoshua Spence <josh@joshuaspence.com>
Sat, 3 Jan 2015 12:52:56 +0000 (23:52 +1100)
committerJoshua Spence <josh@joshuaspence.com>
Sat, 3 Jan 2015 12:52:56 +0000 (23:52 +1100)
Summary: Self-explanatory. This is implied anyway as we iterate over it with a `foreach` loop.

Test Plan: `arc unit`

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

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

src/lint/linter/__tests__/ArcanistLinterTestCase.php

index b933171b1dfd02f8c87400f41eb9519bf533698c..2c6c2051eb99aa080442deb8c82b0517bd2e52cf 100644 (file)
@@ -47,7 +47,7 @@ abstract class ArcanistLinterTestCase extends ArcanistPhutilTestCase {
       $config,
       array(
         'hook' => 'optional bool',
-        'config' => 'optional wild',
+        'config' => 'optional map<string, wild>',
         'path' => 'optional string',
       ));