diff --git a/src/lint/linter/__tests__/ArcanistJscsLinterTestCase.php b/src/lint/linter/__tests__/ArcanistJscsLinterTestCase.php index 5004a527..d72c44e0 100644 --- 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 index e5c37f43..ff3c7868 100644 --- 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 ~~~~~~~~~~ ~~~~~~~~~~ {