Browse Source

FilterCommandsTest fails on Windows

Bug: 538068
Change-Id: I3ba6fceef2c34cacc0c37150206379aa93b5e3d0
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
stable-5.1
Andrey Loskutov 6 years ago
parent
commit
c23d024ea8
  1. 2
      org.eclipse.jgit.test/tst/org/eclipse/jgit/util/FilterCommandsTest.java

2
org.eclipse.jgit.test/tst/org/eclipse/jgit/util/FilterCommandsTest.java

@ -85,6 +85,8 @@ public class FilterCommandsTest extends RepositoryTestCase {
public int run() throws IOException { public int run() throws IOException {
int b = in.read(); int b = in.read();
if (b == -1) { if (b == -1) {
in.close();
out.close();
return b; return b;
} }
out.write(prefix); out.write(prefix);

Loading…
Cancel
Save