Commit 4f583dde authored by Joshua Spence's avatar Joshua Spence

Call `$linter->setEngine` in linter tests

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]].

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

Differential Revision:
parent 9ccbbee3
......@@ -114,6 +114,7 @@ abstract class ArcanistLinterTestCase extends PhutilTestCase {
$path_name = idx($config, 'path', $path);
$linter->addData($path_name, $data);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment