Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.debug.tests/src/org/eclipe/debug/tests/launching/LaunchConfigurationTests.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.debug.tests/src/org/eclipe/debug/tests/launching/LaunchConfigurationTests.java b/org.eclipse.debug.tests/src/org/eclipe/debug/tests/launching/LaunchConfigurationTests.java
index 427ed581f..6219f340b 100644
--- a/org.eclipse.debug.tests/src/org/eclipe/debug/tests/launching/LaunchConfigurationTests.java
+++ b/org.eclipse.debug.tests/src/org/eclipe/debug/tests/launching/LaunchConfigurationTests.java
@@ -1315,7 +1315,7 @@ public class LaunchConfigurationTests extends AbstractLaunchTest implements ILau
*/
public void testIllegalFileSepCharName() {
try {
- newConfiguration(null, "some\\nested\\config");
+ newConfiguration(null, new Path("some").append("nested").append("config").toOSString());
} catch (CoreException e) {
// i.e. expected code path
return;
@@ -1332,7 +1332,7 @@ public class LaunchConfigurationTests extends AbstractLaunchTest implements ILau
*/
public void testLegalFileSepCharName() {
try {
- newConfiguration(getProject(), "some\\nested\\config");
+ newConfiguration(getProject(), new Path("some").append("nested").append("config").toOSString());
} catch (CoreException e) {
assertTrue("Should *not* be an illegal argument - can nest shared cofigurations", false);
}

Back to the top