Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15267026
D15123.id36513.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D15123.id36513.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 27, 6:37 AM (19 h, 12 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7211083
Default Alt Text
D15123.id36513.diff (1 KB)
Attached To
Mode
D15123: Fix linter tests
Attached
Detach File
Event Timeline
Log In to Comment