]> khamidou — GitHub mirrors - arcanist.git/commit
Don't throw an exception if no configuration is set for linter tests
authorJoshua Spence <josh@joshuaspence.com>
Fri, 20 Jun 2014 21:15:38 +0000 (07:15 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Fri, 20 Jun 2014 21:15:38 +0000 (07:15 +1000)
commita428f22cbf0702581e6220399b9c6f50228a73da
tree7c3e3a91beebcfc9c8a6da6eaa99d0027ee52658
parent5ee12bbad6521861e1295530c0a4c2c3a35152ed
Don't throw an exception if no configuration is set for linter tests

Summary: This was broken in D9641. If `$config` is not set, then a `PhutilJSONParserException` will be thrown. The expected behaviour is that it is okay to not explicitly set any configuration.

Test Plan: Ran `arc unit`.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9643
src/lint/linter/__tests__/ArcanistLinterTestCase.php