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
F14389011: D9643.id23147.diff
Sat, Dec 21, 5:16 PM
Unknown Object (File)
Sun, Dec 15, 10:42 AM
Unknown Object (File)
Sat, Dec 14, 4:34 PM
Unknown Object (File)
Fri, Dec 13, 11:43 AM
Unknown Object (File)
Fri, Dec 13, 3:19 AM
Unknown Object (File)
Fri, Dec 13, 2:01 AM
Unknown Object (File)
Thu, Dec 12, 5:51 PM
Unknown Object (File)
Wed, Dec 11, 2:17 AM
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