diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/StashApplyCommandTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/StashApplyCommandTest.java index 117ef88dc..e7d66fb7f 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/StashApplyCommandTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/StashApplyCommandTest.java @@ -425,7 +425,7 @@ public class StashApplyCommandTest extends RepositoryTestCase { public void stashChangeInANewSubdirectory() throws Exception { String subdir = "subdir"; String fname = "file2.txt"; - String path = subdir + System.getProperty("file.separator") + fname; + String path = subdir + "/" + fname; String otherBranch = "otherbranch"; writeTrashFile(subdir, fname, "content2");