]> source.dussan.org Git - jgit.git/commit
Fix unit tests on Windows 03/61203/2
authorChristian Halstrick <christian.halstrick@sap.com>
Tue, 24 Nov 2015 14:16:42 +0000 (15:16 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 26 Nov 2015 00:26:32 +0000 (01:26 +0100)
commitadbe9006831a5d03a3513f4a09dbda8703e19f7c
tree34ba6b26498b0eb6393716ca42f85e7fcb0164f1
parent2cdc130dfc06179acce47a57cfa9562290598b64
Fix unit tests on Windows

PushCommandTest and RunExternalScriptTest didn't succeed on Windows.
Fix this by expecting a simple line-feed as line ending (instead of the
platform dependent line separator. Additionally correct the computation
of expected URLs in PushCommandTest.

Change-Id: Idcdc41cd7e535ff88df33ea0a249333ed8fc91b0
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/PushCommandTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/util/RunExternalScriptTest.java