aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormclay2009-03-11 15:47:40 (EDT)
committersefftinge2009-03-11 15:47:40 (EDT)
commitf86c2b59f56330675a822b9c6c5f7e754e892df5 (patch)
tree27fafb06e932e0f352e4a9e556f0caeacd3961c2
parent51f4b23ef6921171c14b20453669c52cc957de61 (diff)
downloadorg.eclipse.xtext-f86c2b59f56330675a822b9c6c5f7e754e892df5.zip
org.eclipse.xtext-f86c2b59f56330675a822b9c6c5f7e754e892df5.tar.gz
org.eclipse.xtext-f86c2b59f56330675a822b9c6c5f7e754e892df5.tar.bz2
https://bugs.eclipse.org/bugs/show_bug.cgi?id=267582
-rw-r--r--tests/org.eclipse.xtext.ui.common.tests/src/org/eclipse/xtext/ui/common/editor/contentassist/impl/DefaultContentAssistProcessorTest.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/org.eclipse.xtext.ui.common.tests/src/org/eclipse/xtext/ui/common/editor/contentassist/impl/DefaultContentAssistProcessorTest.java b/tests/org.eclipse.xtext.ui.common.tests/src/org/eclipse/xtext/ui/common/editor/contentassist/impl/DefaultContentAssistProcessorTest.java
index c45ee91..c36c587 100644
--- a/tests/org.eclipse.xtext.ui.common.tests/src/org/eclipse/xtext/ui/common/editor/contentassist/impl/DefaultContentAssistProcessorTest.java
+++ b/tests/org.eclipse.xtext.ui.common.tests/src/org/eclipse/xtext/ui/common/editor/contentassist/impl/DefaultContentAssistProcessorTest.java
@@ -228,16 +228,19 @@ public class DefaultContentAssistProcessorTest extends AbstractXtextTests {
*
* https://bugs.eclipse.org/bugs/show_bug.cgi?id=260825
* https://bugs.eclipse.org/bugs/show_bug.cgi?id=262313
+ * https://bugs.eclipse.org/bugs/show_bug.cgi?id=267582
*/
public void testCompleteAssignmentWithBacktracking() throws Exception {
newBuilder(getXtextGrammarSetup())
.appendNl("grammar foo with org.eclipse.xtext.common.Terminals")
.appendNl("generate foo \"foo\"")
.append("MyRule : 'foo' name").assertText("\"Keyword_Value\"", "(", "*", "+", "+=", ";", "=", "?", "?=",
- "Assignment_Feature", "MyRule", "{");
+ "Assignment_Feature", "MyRule", "{")
+ .appendNl(";")
+ .append("terminal Other_Id").assertText(":","returns");
}
-
+
public void testKeywordWithBackslashes() throws Exception {
newBuilder(getKeywordsLangSetup())
.assertText("foo\\bar", "foo\\", "\\bar", "\\");