Page MenuHomePhabricator

Don't throw an exception if no configuration is set for linter tests
ClosedPublic

Authored by joshuaspence on Jun 20 2014, 9:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Feb 18, 4:24 AM
Unknown Object (File)
Mon, Feb 17, 10:06 PM
Unknown Object (File)
Sun, Feb 16, 6:43 PM
Unknown Object (File)
Thu, Feb 13, 2:11 AM
Unknown Object (File)
Sun, Feb 9, 1:46 PM
Unknown Object (File)
Sun, Feb 9, 1:46 PM
Unknown Object (File)
Sun, Feb 9, 1:46 PM
Unknown Object (File)
Sun, Feb 9, 1:46 PM
Subscribers

Details

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.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

joshuaspence retitled this revision from to Don't throw an exception if no configuration is set for linter tests.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Jun 20 2014, 9:09 PM