diff --git a/RegExpSupport/test/org/intellij/lang/regexp/inspection/OctalEscapeInspectionTest.java b/RegExpSupport/test/org/intellij/lang/regexp/inspection/OctalEscapeInspectionTest.java index 324cf16c7833..b4958de5ec02 100644 --- a/RegExpSupport/test/org/intellij/lang/regexp/inspection/OctalEscapeInspectionTest.java +++ b/RegExpSupport/test/org/intellij/lang/regexp/inspection/OctalEscapeInspectionTest.java @@ -24,7 +24,7 @@ import org.jetbrains.annotations.NotNull; public class OctalEscapeInspectionTest extends RegExpInspectionTestCase { public void testSimple() { - quickfixTest("\\011", "\\x09", "Replace with '\\x09'"); + quickfixTest("\\011", "\\x09", "Replace with '\\x09'"); } @NotNull diff --git a/RegExpSupport/test/org/intellij/lang/regexp/inspection/RegExpInspectionTestCase.java b/RegExpSupport/test/org/intellij/lang/regexp/inspection/RegExpInspectionTestCase.java index 2a90f9b8fe01..5d6e93372947 100644 --- a/RegExpSupport/test/org/intellij/lang/regexp/inspection/RegExpInspectionTestCase.java +++ b/RegExpSupport/test/org/intellij/lang/regexp/inspection/RegExpInspectionTestCase.java @@ -42,6 +42,7 @@ public abstract class RegExpInspectionTestCase extends LightPlatformCodeInsightF protected void quickfixTest(@Language("RegExp") String before, @Language("RegExp") String after, String hint) { myFixture.enableInspections(getInspection()); myFixture.configureByText(RegExpFileType.INSTANCE, before); + myFixture.testHighlighting(); final IntentionAction intention = findIntention(hint); assertNotNull(intention); myFixture.launchAction(intention); diff --git a/RegExpSupport/test/org/intellij/lang/regexp/inspection/RepeatedSpaceInspectionTest.java b/RegExpSupport/test/org/intellij/lang/regexp/inspection/RepeatedSpaceInspectionTest.java index 606f59b1535f..d5737be31cf9 100644 --- a/RegExpSupport/test/org/intellij/lang/regexp/inspection/RepeatedSpaceInspectionTest.java +++ b/RegExpSupport/test/org/intellij/lang/regexp/inspection/RepeatedSpaceInspectionTest.java @@ -36,7 +36,7 @@ public class RepeatedSpaceInspectionTest extends RegExpInspectionTestCase { } public void testReplacement() { - quickfixTest(" ", " {5}", "Replace with ' {5}'"); + quickfixTest(" ", " {5}", "Replace with ' {5}'"); } @Override diff --git a/RegExpSupport/test/org/intellij/lang/regexp/inspection/SingleCharAlternationInspectionTest.java b/RegExpSupport/test/org/intellij/lang/regexp/inspection/SingleCharAlternationInspectionTest.java index a8441813f68d..3e407e6d06a3 100644 --- a/RegExpSupport/test/org/intellij/lang/regexp/inspection/SingleCharAlternationInspectionTest.java +++ b/RegExpSupport/test/org/intellij/lang/regexp/inspection/SingleCharAlternationInspectionTest.java @@ -32,7 +32,7 @@ public class SingleCharAlternationInspectionTest extends RegExpInspectionTestCas } public void testQuickfix() { - quickfixTest("x|y|z", "[xyz]", "Replace with '[xyz]'"); + quickfixTest("x|y|z", "[xyz]", "Replace with '[xyz]'"); } @NotNull