Browse Source

The Git API's only likes /, not \ in paths

Therefore this test fails on Windows

Change-Id: I4f73487b720ea1479e95108344f1dc3711106408
stable-2.1
Robin Rosenberg 12 years ago committed by Robin Rosenberg
parent
commit
c4bc9c709a
  1. 2
      org.eclipse.jgit.test/tst/org/eclipse/jgit/api/StashApplyCommandTest.java

2
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");

Loading…
Cancel
Save