Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15460273
D9789.id23516.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
D9789.id23516.diff
View Options
diff --git a/src/lint/linter/__tests__/ArcanistJscsLinterTestCase.php b/src/lint/linter/__tests__/ArcanistJscsLinterTestCase.php
--- a/src/lint/linter/__tests__/ArcanistJscsLinterTestCase.php
+++ b/src/lint/linter/__tests__/ArcanistJscsLinterTestCase.php
@@ -3,12 +3,6 @@
final class ArcanistJscsLinterTestCase extends ArcanistArcanistLinterTestCase {
public function testJscsLinter() {
- // NOTE: JSCS will only lint files with a `*.js` extension.
- //
- // See https://github.com/mdevils/node-jscs/issues/444
- $this->assertTrue(true);
- return;
-
$this->executeTestsInDirectory(
dirname(__FILE__).'/jscs/',
new ArcanistJscsLinter());
diff --git a/src/lint/linter/__tests__/jscs/curly-brace.lint-test b/src/lint/linter/__tests__/jscs/curly-brace.lint-test
--- a/src/lint/linter/__tests__/jscs/curly-brace.lint-test
+++ b/src/lint/linter/__tests__/jscs/curly-brace.lint-test
@@ -1,8 +1,8 @@
function foo() {
- if (true) return 'foo'; else return 'bar';
+ if (true) return "foo"; else return "bar";
}
~~~~~~~~~~
-error:2:
+error:2:3
~~~~~~~~~~
~~~~~~~~~~
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 1, 9:20 PM (5 d, 22 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7444313
Default Alt Text
D9789.id23516.diff (1 KB)
Attached To
Mode
D9789: Enable unit tests for `ArcanistJscsLinterTestCase`
Attached
Detach File
Event Timeline
Log In to Comment