Page MenuHomePhabricator

D9789.id23516.diff
No OneTemporary

D9789.id23516.diff

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

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)

Event Timeline