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 { | ||||
| public function testLinter() { | protected function getLinter() { | ||||
| $linter = new ArcanistClosureLinter(); | $linter = parent::getLinter(); | ||||
| $linter->setFlags(array('--additional_extensions=lint-test')); | $linter->setFlags(array('--additional_extensions=lint-test')); | ||||
| return $linter; | |||||
| } | |||||
| $this->executeTestsInDirectory(dirname(__FILE__).'/gjslint/', $linter); | public function testLinter() { | ||||
| $this->executeTestsInDirectory(dirname(__FILE__).'/gjslint/'); | |||||
| } | } | ||||
| } | } | ||||