diff --git a/platform/lang-impl/testData/codeInspection/longLine/longLine.java b/java/java-tests/testData/inspection/longLine/LongLine.java
similarity index 92%
rename from platform/lang-impl/testData/codeInspection/longLine/longLine.java
rename to java/java-tests/testData/inspection/longLine/LongLine.java
index c5dd6d771ea4..4f1cc7ee2a2c 100644
--- a/platform/lang-impl/testData/codeInspection/longLine/longLine.java
+++ b/java/java-tests/testData/inspection/longLine/LongLine.java
@@ -1,6 +1,6 @@
class A {
- void meeeeeeeeeeeeeeeeeeeeeeeeetttttttttttttttttttttttthhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhooooooooooooooodddddd() {
+ void meeeeeeeeeeeeeeeeeeeeeeeeetttttttttttttttttttttttthhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhooooooooooooooodddddd() {
//previous line is very long
}
diff --git a/java/java-tests/testSrc/com/intellij/java/codeInspection/JavaLongLineInspectionTest.kt b/java/java-tests/testSrc/com/intellij/java/codeInspection/JavaLongLineInspectionTest.kt
index 57b9b0c1cfab..804ee917822d 100644
--- a/java/java-tests/testSrc/com/intellij/java/codeInspection/JavaLongLineInspectionTest.kt
+++ b/java/java-tests/testSrc/com/intellij/java/codeInspection/JavaLongLineInspectionTest.kt
@@ -26,6 +26,10 @@ class JavaLongLineInspectionTest : JavaCodeInsightFixtureTestCase() {
doTest()
}
+ fun testLongLine() {
+ doTest()
+ }
+
private fun doTest() {
myFixture.enableInspections(LongLineInspection())
myFixture.testHighlighting(true, false, false, getTestName(false) + ".java")
diff --git a/platform/lang-impl/testSources/com/intellij/codeInspection/LongLineInspectionTest.java b/platform/lang-impl/testSources/com/intellij/codeInspection/LongLineInspectionTest.java
index 3d597cf4da63..464022ddf6f6 100644
--- a/platform/lang-impl/testSources/com/intellij/codeInspection/LongLineInspectionTest.java
+++ b/platform/lang-impl/testSources/com/intellij/codeInspection/LongLineInspectionTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2000-2015 JetBrains s.r.o.
+ * Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -30,10 +30,6 @@ public class LongLineInspectionTest extends LightPlatformCodeInsightFixtureTestC
doTest("java");
}
- public void testLongLine() {
- doTest("java");
- }
-
public void testXmlLongLine() {
doTest("xml");
}