diff --git a/platform/testFramework/src/com/intellij/testFramework/fixtures/impl/CodeInsightTestFixtureImpl.java b/platform/testFramework/src/com/intellij/testFramework/fixtures/impl/CodeInsightTestFixtureImpl.java index a433ccadd30a..f188bfd0c207 100644 --- a/platform/testFramework/src/com/intellij/testFramework/fixtures/impl/CodeInsightTestFixtureImpl.java +++ b/platform/testFramework/src/com/intellij/testFramework/fixtures/impl/CodeInsightTestFixtureImpl.java @@ -407,7 +407,7 @@ public class CodeInsightTestFixtureImpl extends BaseFixture implements CodeInsig @Override public long checkHighlighting(final boolean checkWarnings, final boolean checkInfos, final boolean checkWeakWarnings, boolean ignoreExtraHighlighting) { try { - return collectAndCheckHighlighting(checkWarnings, checkInfos, checkWeakWarnings); + return collectAndCheckHighlighting(checkWarnings, checkInfos, checkWeakWarnings, ignoreExtraHighlighting); } catch (Exception e) { throw new RuntimeException(e); @@ -1501,8 +1501,7 @@ public class CodeInsightTestFixtureImpl extends BaseFixture implements CodeInsig private long collectAndCheckHighlighting(boolean checkWarnings, boolean checkInfos, boolean checkWeakWarnings, boolean ignoreExtraHighlighting) throws Exception { ExpectedHighlightingData data = new ExpectedHighlightingData(myEditor.getDocument(), - checkWarnings, checkWeakWarnings, ignoreExtraHighlighting, - checkInfos, getHostFile()); + checkWarnings, checkWeakWarnings, checkInfos, ignoreExtraHighlighting, getHostFile()); data.init(); return collectAndCheckHighlighting(data); }