Changeset View
Changeset View
Standalone View
Standalone View
src/lint/linter/__tests__/ArcanistClosureLinterTestCase.php
<?php | <?php | ||||
final class ArcanistClosureLinterTestCase | final class ArcanistClosureLinterTestCase | ||||
extends ArcanistExternalLinterTestCase { | extends ArcanistExternalLinterTestCase { | ||||
protected function getLinter() { | protected function getLinter() { | ||||
$linter = new ArcanistClosureLinter(); | $linter = new ArcanistClosureLinter(); | ||||
$linter->setFlags(array('--additional_extensions=lint-test')); | $linter->setFlags(array('--additional_extensions=lint-test')); | ||||
return $linter; | return $linter; | ||||
} | } | ||||
public function testLinter() { | public function testLinter() { | ||||
$this->executeTestsInDirectory(dirname(__FILE__).'/gjslint/'); | $this->executeTestsInDirectory(__DIR__.'/gjslint/'); | ||||
} | } | ||||
} | } |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0