|
|
@ -45,7 +45,6 @@ package org.eclipse.jgit.util; |
|
|
|
|
|
|
|
|
|
|
|
import static org.junit.Assert.assertEquals; |
|
|
|
import static org.junit.Assert.assertEquals; |
|
|
|
|
|
|
|
|
|
|
|
import java.io.IOException; |
|
|
|
|
|
|
|
import java.util.concurrent.TimeUnit; |
|
|
|
import java.util.concurrent.TimeUnit; |
|
|
|
|
|
|
|
|
|
|
|
import org.eclipse.jgit.junit.MockSystemReader; |
|
|
|
import org.eclipse.jgit.junit.MockSystemReader; |
|
|
@ -113,7 +112,7 @@ public class ChangeIdUtilTest { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
@Test |
|
|
|
public void testId() throws IOException { |
|
|
|
public void testId() { |
|
|
|
String msg = "A\nMessage\n"; |
|
|
|
String msg = "A\nMessage\n"; |
|
|
|
ObjectId id = ChangeIdUtil.computeChangeId(treeId, parentId, p, q, msg); |
|
|
|
ObjectId id = ChangeIdUtil.computeChangeId(treeId, parentId, p, q, msg); |
|
|
|
assertEquals("73f3751208ac92cbb76f9a26ac4a0d9d472e381b", ObjectId |
|
|
|
assertEquals("73f3751208ac92cbb76f9a26ac4a0d9d472e381b", ObjectId |
|
|
|