Page MenuHomePhabricator

D15123.diff
No OneTemporary

D15123.diff

diff --git a/src/lint/linter/__tests__/ArcanistClosureLinterTestCase.php b/src/lint/linter/__tests__/ArcanistClosureLinterTestCase.php
--- a/src/lint/linter/__tests__/ArcanistClosureLinterTestCase.php
+++ b/src/lint/linter/__tests__/ArcanistClosureLinterTestCase.php
@@ -3,11 +3,14 @@
final class ArcanistClosureLinterTestCase
extends ArcanistExternalLinterTestCase {
- public function testLinter() {
- $linter = new ArcanistClosureLinter();
+ protected function getLinter() {
+ $linter = parent::getLinter();
$linter->setFlags(array('--additional_extensions=lint-test'));
+ return $linter;
+ }
- $this->executeTestsInDirectory(dirname(__FILE__).'/gjslint/', $linter);
+ public function testLinter() {
+ $this->executeTestsInDirectory(dirname(__FILE__).'/gjslint/');
}
}
diff --git a/src/lint/linter/__tests__/cppcheck/zblair.lint-test b/src/lint/linter/__tests__/cppcheck/zblair.lint-test
--- a/src/lint/linter/__tests__/cppcheck/zblair.lint-test
+++ b/src/lint/linter/__tests__/cppcheck/zblair.lint-test
@@ -15,5 +15,4 @@
delete buf;
}
~~~~~~~~~~
-error:10:
error:16:

File Metadata

Mime Type
text/plain
Expires
Fri, Mar 21, 11:46 PM (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7390197
Default Alt Text
D15123.diff (1 KB)

Event Timeline