summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorRobin Rosenberg2012-08-21 12:21:17 (EDT)
committer Robin Rosenberg2012-08-21 13:43:59 (EDT)
commitc4bc9c709a7bc8a7aec78a5bbe20ef52966a8b20 (patch)
treee8966a44b8572b94eceb0c3d4668c45ef03c66a1
parentf72b26f2d3776c72889a481f975c1add49980697 (diff)
downloadjgit-c4bc9c709a7bc8a7aec78a5bbe20ef52966a8b20.zip
jgit-c4bc9c709a7bc8a7aec78a5bbe20ef52966a8b20.tar.gz
jgit-c4bc9c709a7bc8a7aec78a5bbe20ef52966a8b20.tar.bz2
The Git API's only likes /, not \ in pathsrefs/changes/28/7328/1
Therefore this test fails on Windows Change-Id: I4f73487b720ea1479e95108344f1dc3711106408
-rw-r--r--org.eclipse.jgit.test/tst/org/eclipse/jgit/api/StashApplyCommandTest.java2
1 files changed, 1 insertions, 1 deletions
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 117ef88..e7d66fb 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");