public function testSpellingLint() { $linter = new ArcanistSpellingLinter(); $linter->addPartialWordRule('supermn', 'superman'); $linter->addExactWordRule('batmn', 'batman'); $this->executeTestsInDirectory(dirname(__FILE__) . '/spelling/', $linter); }
public function testSpellingLint() { $linter = new ArcanistSpellingLinter(); $linter->removeLintRule('acc' . 'out'); $linter->addPartialWordRule('supermn', 'superman'); $linter->addWholeWordRule('batmn', 'batman'); $working_copy = ArcanistWorkingCopyIdentity::newFromPath(__FILE__); return $this->executeTestsInDirectory(dirname(__FILE__) . '/spelling/', $linter, $working_copy); }