Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F18100553
D20557.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
718 B
Referenced Files
None
Subscribers
None
D20557.id.diff
View Options
diff --git a/src/lint/linter/__tests__/ArcanistLinterTestCase.php b/src/lint/linter/__tests__/ArcanistLinterTestCase.php
--- a/src/lint/linter/__tests__/ArcanistLinterTestCase.php
+++ b/src/lint/linter/__tests__/ArcanistLinterTestCase.php
@@ -26,8 +26,8 @@
* Executes all tests from the specified subdirectory. If a linter is not
* explicitly specified, it will be inferred from the name of the test class.
*/
- protected function executeTestsInDirectory($root) {
- $linter = $this->getLinter();
+ protected function executeTestsInDirectory($root, ArcanistLinter $linter = null) {
+ $linter = coalesce($linter, $this->getLinter());
$files = id(new FileFinder($root))
->withType('f')
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Aug 10, 11:56 AM (3 w, 23 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8680248
Default Alt Text
D20557.id.diff (718 B)
Attached To
Mode
D20557: Allow linter to be passed into `ArcanistLinterTestCase::executeTestsInDirectory`
Attached
Detach File
Event Timeline
Log In to Comment