[jbosstools-commits] JBoss Tools SVN: r42887 - trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Tue Aug 7 11:36:52 EDT 2012


Author: vpakan at redhat.com
Date: 2012-08-07 11:36:51 -0400 (Tue, 07 Aug 2012)
New Revision: 42887

Modified:
   trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/ContentAssistHelper.java
Log:
Fix error message.

Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/ContentAssistHelper.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/ContentAssistHelper.java	2012-08-07 14:41:42 UTC (rev 42886)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/ContentAssistHelper.java	2012-08-07 15:36:51 UTC (rev 42887)
@@ -160,8 +160,9 @@
     ContentAssistBot contentAssist = editor.contentAssist();
     contentAssist.invokeContentAssist();
     String editorLineAfterInsert = editor.getTextOnCurrentLine();
-    assertTrue("Text on current line should be:\n" +
-        "but is :\n" + editorLineAfterInsert
+    assertTrue("Text on current line should be:\n" + 
+        expectedEditorLineAfterInsert +
+        "\nbut is:\n" + editorLineAfterInsert
         , editorLineAfterInsert.equals(expectedEditorLineAfterInsert));
 
     return editor;



More information about the jbosstools-commits mailing list