From 2fc24f319e4689dbd456869dc1fed4f92a72e646 Mon Sep 17 00:00:00 2001 From: Markus Schorn Date: Thu, 14 Apr 2011 12:04:20 +0000 Subject: [PATCH] Bug 342443: A using declaration is not a definition. --- .../cdt/ui/tests/text/selection/CPPSelectionTestsNoIndexer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/selection/CPPSelectionTestsNoIndexer.java b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/selection/CPPSelectionTestsNoIndexer.java index aeb98bfd43f..96a7a4af22d 100644 --- a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/selection/CPPSelectionTestsNoIndexer.java +++ b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/selection/CPPSelectionTestsNoIndexer.java @@ -705,7 +705,7 @@ public class CPPSelectionTestsNoIndexer extends BaseUITestCase { decl = testF3(file, offset); assertTrue(decl instanceof IASTName); assertEquals("d", ((IASTName) decl).toString()); //$NON-NLS-1$ - assertEquals(420, ((ASTNode) decl).getOffset()); + assertEquals(695, ((ASTNode) decl).getOffset()); assertEquals(1, ((ASTNode) decl).getLength()); offset = code.indexOf("N1 = N; // defines N1"); //$NON-NLS-1$