Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Kaegi2008-10-10 19:33:12 +0000
committerSimon Kaegi2008-10-10 19:33:12 +0000
commit4a7dec24b158e30e0dd6d9c5b6926a4dcd01c586 (patch)
treee8e9115264e4d7467dffc75f3018a7a9198fe414 /bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2
parent3e8896ba3fe044d6f34c31fa13fe78d0673dfcbb (diff)
downloadrt.equinox.p2-4a7dec24b158e30e0dd6d9c5b6926a4dcd01c586.tar.gz
rt.equinox.p2-4a7dec24b158e30e0dd6d9c5b6926a4dcd01c586.tar.xz
rt.equinox.p2-4a7dec24b158e30e0dd6d9c5b6926a4dcd01c586.zip
making the file tests absolute
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/core/URIUtilTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/core/URIUtilTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/core/URIUtilTest.java
index addda9c2d..8caccc73d 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/core/URIUtilTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/core/URIUtilTest.java
@@ -72,7 +72,7 @@ public class URIUtilTest extends AbstractProvisioningTest {
* Tests handling of conversion from a File with spaces to URL and File to URI and equivalence of the resulting URI
*/
public void testFileWithSpaces() throws MalformedURLException, URISyntaxException {
- File fileWithSpaces = new File("c:\\with spaces\\goo");
+ File fileWithSpaces = new File("/c:/with spaces/goo");
URI correctURI = fileWithSpaces.toURI();
URL fileURL = fileWithSpaces.toURL();
URI fileURI = null;

Back to the top