From ce4bbb906bb9dfe53451513df9bbeb0b859ba15d Mon Sep 17 00:00:00 2001 From: Zalim Bashorov Date: Tue, 30 Sep 2014 23:38:40 +0400 Subject: [PATCH] JS tests: disabled linter. --- .../org/jetbrains/k2js/test/rhino/RhinoUtils.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/js/js.tests/test/org/jetbrains/k2js/test/rhino/RhinoUtils.java b/js/js.tests/test/org/jetbrains/k2js/test/rhino/RhinoUtils.java index ce131bc26d5..3ea872ec29b 100644 --- a/js/js.tests/test/org/jetbrains/k2js/test/rhino/RhinoUtils.java +++ b/js/js.tests/test/org/jetbrains/k2js/test/rhino/RhinoUtils.java @@ -143,11 +143,11 @@ public final class RhinoUtils { putGlobalVariablesIntoScope(scope, variables); for (String filename : fileNames) { runFileWithRhino(filename, context, scope); - String problems = lintIt(context, filename, scope); - if (problems != null) { - //fail(problems); - System.out.print(problems); - } + //String problems = lintIt(context, filename, scope); + //if (problems != null) { + // //fail(problems); + // System.out.print(problems); + //} } checker.runChecks(context, scope); } @@ -185,7 +185,7 @@ public final class RhinoUtils { runFileWithRhino(pathToTestFilesRoot() + "kotlin_lib.js", context, scope); runFileWithRhino(pathToTestFilesRoot() + "maps.js", context, scope); runFileWithRhino(pathToTestFilesRoot() + "long.js", context, scope); - runFileWithRhino(pathToTestFilesRoot() + "jshint.js", context, scope); + //runFileWithRhino(pathToTestFilesRoot() + "jshint.js", context, scope); for (String jsLibrary : jsLibraries) { runFileWithRhino(jsLibrary, context, scope); }