Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Camelon2004-09-23 00:43:45 +0000
committerJohn Camelon2004-09-23 00:43:45 +0000
commit08f62553a67715bc952e47b4601459b5f29c2ce4 (patch)
treea440019366b90b5d1ad4a5f8e047ce834cf3bee7 /core/org.eclipse.cdt.core.tests
parentea597251062b8e8829a8f70d954a7efc71abafc2 (diff)
downloadorg.eclipse.cdt-08f62553a67715bc952e47b4601459b5f29c2ce4.tar.gz
org.eclipse.cdt-08f62553a67715bc952e47b4601459b5f29c2ce4.tar.xz
org.eclipse.cdt-08f62553a67715bc952e47b4601459b5f29c2ce4.zip
Fixed 69439 - [Content Assist] confusion when completing after "123."
Diffstat (limited to 'core/org.eclipse.cdt.core.tests')
-rw-r--r--core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/CompletionParseTest.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/CompletionParseTest.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/CompletionParseTest.java
index fdd2c99e3a4..66cca9ab846 100644
--- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/CompletionParseTest.java
+++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/CompletionParseTest.java
@@ -1251,4 +1251,13 @@ public class CompletionParseTest extends CompletionParseBaseTest {
assertEquals( result.getResultsSize(), 2 );
}
+ public void testBug69439() throws Exception
+ {
+ String code = "float f = 123."; //$NON-NLS-1$
+ IASTCompletionNode node = parse( code, code.indexOf( ".") + 1 ); //$NON-NLS-1$
+ assertNotNull( node );
+ assertEquals( node.getCompletionKind(), IASTCompletionNode.CompletionKind.NO_SUCH_KIND );
+
+ }
+
}

Back to the top