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 testVersion() { | |||||
$this->assertSkipped( | |||||
pht("We don't currently parse the version from this linter.")); | |||||
} | |||||
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(dirname(__FILE__).'/gjslint/'); | ||||
} | } | ||||
} | } |