From 2f5eee06c8fe65f89f2706be4c4ff0c9f4aa7c60 Mon Sep 17 00:00:00 2001 From: Alexander Zolotov Date: Tue, 18 Mar 2014 15:26:59 +0400 Subject: [PATCH] Add expected file name in assertion message --- .../testFramework/fixtures/impl/CodeInsightTestFixtureImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {