Bug 377075 - Ant Augment Task id reference failure - remove *nix path
separator from new test
diff --git a/ant/org.eclipse.ant.tests.ui/Ant Editor Tests/org/eclipse/ant/tests/ui/editor/AntEditorTests.java b/ant/org.eclipse.ant.tests.ui/Ant Editor Tests/org/eclipse/ant/tests/ui/editor/AntEditorTests.java
index 5560a91..1e3a829 100644
--- a/ant/org.eclipse.ant.tests.ui/Ant Editor Tests/org/eclipse/ant/tests/ui/editor/AntEditorTests.java
+++ b/ant/org.eclipse.ant.tests.ui/Ant Editor Tests/org/eclipse/ant/tests/ui/editor/AntEditorTests.java
@@ -271,7 +271,7 @@
assertNotNull("The selected region for the augmented element cannot be null", region);
String text = hover.getHoverInfo(editor.getViewer(), region);
assertNotNull("The hover text for the path element must not be null", text);
- assertTrue("The hover text must contain the augmented element '/foo'", text.indexOf("/foo") > -1);
+ assertTrue("The hover text must contain the augmented element 'foo'", text.indexOf("foo") > -1);
}
public void testHoverRegionWithSpaces() throws PartInitException, BadLocationException {