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)
Mon, Nov 18, 10:03 PM
Unknown Object (File)
Wed, Nov 13, 9:45 PM
Unknown Object (File)
Sun, Nov 10, 4:38 AM
Unknown Object (File)
Tue, Oct 29, 8:59 AM
Unknown Object (File)
Oct 20 2024, 7:11 PM
Unknown Object (File)
Oct 20 2024, 9:37 AM
Unknown Object (File)
Oct 13 2024, 5:05 AM
Unknown Object (File)
Oct 10 2024, 5:39 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