diff options
author | Darin Wright | 2010-03-08 17:27:45 +0000 |
---|---|---|
committer | Darin Wright | 2010-03-08 17:27:45 +0000 |
commit | 40fa55c48eedd10a943197ad3f0944fbfc6ea6e2 (patch) | |
tree | 0a2d8cadc68be94aaa09ce127799371ff32d4855 /org.eclipse.debug.tests/src | |
parent | 966be35bc01112886863f27b7c4eceeea1e10fc1 (diff) | |
download | eclipse.platform.debug-40fa55c48eedd10a943197ad3f0944fbfc6ea6e2.tar.gz eclipse.platform.debug-40fa55c48eedd10a943197ad3f0944fbfc6ea6e2.tar.xz eclipse.platform.debug-40fa55c48eedd10a943197ad3f0944fbfc6ea6e2.zip |
fix test for linux
Diffstat (limited to 'org.eclipse.debug.tests/src')
-rw-r--r-- | org.eclipse.debug.tests/src/org/eclipe/debug/tests/launching/LaunchConfigurationTests.java | 4 |
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); } |