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
F14840911: D9643.id23147.diff
Sat, Feb 1, 10:50 AM
Unknown Object (File)
Tue, Jan 28, 11:27 PM
Unknown Object (File)
Tue, Jan 28, 5:52 PM
Unknown Object (File)
Tue, Jan 28, 9:08 AM
Unknown Object (File)
Tue, Jan 28, 8:41 AM
Unknown Object (File)
Tue, Jan 28, 2:44 AM
Unknown Object (File)
Mon, Jan 27, 6:54 AM
Unknown Object (File)
Sun, Jan 26, 8:20 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