diff options
Diffstat (limited to 'org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/ResetOperationTest.java')
-rw-r--r-- | org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/ResetOperationTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/ResetOperationTest.java b/org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/ResetOperationTest.java index 5da8306d4e..7fe76d88b3 100644 --- a/org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/ResetOperationTest.java +++ b/org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/op/ResetOperationTest.java @@ -58,7 +58,7 @@ public class ResetOperationTest extends GitTestCase { @Test public void testHardReset() throws Exception { setupRepository(); - String fileInIndexPath = fileInIndex.getLocation().toOSString(); + String fileInIndexPath = fileInIndex.getLocation().toPortableString(); new ResetOperation(repository, initialCommit.getName(), ResetOperation.ResetType.HARD).execute(null); // .project must disappear, related Eclipse project must be deleted @@ -77,7 +77,7 @@ public class ResetOperationTest extends GitTestCase { @Test public void testSoftReset() throws Exception { setupRepository(); - String fileInIndexPath = fileInIndex.getLocation().toOSString(); + String fileInIndexPath = fileInIndex.getLocation().toPortableString(); new ResetOperation(repository, initialCommit.getName(), ResetOperation.ResetType.SOFT).execute(null); // .project must remain @@ -97,7 +97,7 @@ public class ResetOperationTest extends GitTestCase { @Test public void testMixedReset() throws Exception { setupRepository(); - String fileInIndexPath = fileInIndex.getLocation().toOSString(); + String fileInIndexPath = fileInIndex.getLocation().toPortableString(); new ResetOperation(repository, initialCommit.getName(), ResetOperation.ResetType.MIXED).execute(null); // .project must remain |