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 92e4a19d6163..0d07fc0f5a72 100644 --- a/platform/testFramework/src/com/intellij/testFramework/fixtures/impl/CodeInsightTestFixtureImpl.java +++ b/platform/testFramework/src/com/intellij/testFramework/fixtures/impl/CodeInsightTestFixtureImpl.java @@ -1704,7 +1704,7 @@ public class CodeInsightTestFixtureImpl extends BaseFixture implements CodeInsig } } - EditorTestUtil.verifyCaretAndSelectionState(editor, loader.caretState); + EditorTestUtil.verifyCaretAndSelectionState(editor, loader.caretState, expectedFile); } private String stripTrailingSpaces(String actualText) {