From f82cc962d41ba5fbf28040fc0a00f731b840344f Mon Sep 17 00:00:00 2001 From: Roman Chernyatchik Date: Mon, 2 Feb 2009 18:26:45 +0300 Subject: [PATCH] Fixed : [RUBY-2713] - Incorrect warning for image_tag argument --- .../testFramework/fixtures/impl/CodeInsightTestFixtureImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/com/intellij/testFramework/fixtures/impl/CodeInsightTestFixtureImpl.java b/source/com/intellij/testFramework/fixtures/impl/CodeInsightTestFixtureImpl.java index 5be7a2412d..afa83ba16a 100644 --- a/source/com/intellij/testFramework/fixtures/impl/CodeInsightTestFixtureImpl.java +++ b/source/com/intellij/testFramework/fixtures/impl/CodeInsightTestFixtureImpl.java @@ -847,7 +847,7 @@ public class CodeInsightTestFixtureImpl extends BaseFixture implements CodeInsig myFile = myPsiManager.findFile(copy); setContext(myFile, myFileContext); myEditor = createEditor(copy); - assert myEditor != null; + assert myEditor != null : "Editor couldn't be created for file: " + copy.getPath() + ", use copyFileToProject(..) method for this file instead of configureByFile(..)" ; int offset = -1; if (loader.caretMarker != null) { offset = loader.caretMarker.getStartOffset(); -- 2.11.4.GIT