Page MenuHomePhabricator

Call `$linter->setEngine` in linter tests
ClosedPublic

Authored by joshuaspence on Mon, May 13, 4:27 AM.

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Summary

We aren't calling $linter->setEngine($engine), even though we do have an $engine. This causes unit tests for any linters which require an engine to fail.

Test Plan

Ran the unit tests for a third-party linter.

Diff Detail

Repository
rARC Arcanist
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

joshuaspence created this revision.Mon, May 13, 4:27 AM
joshuaspence requested review of this revision.Mon, May 13, 4:28 AM
epriestley accepted this revision.Tue, May 14, 2:09 PM
This revision is now accepted and ready to land.Tue, May 14, 2:09 PM
This revision was automatically updated to reflect the committed changes.