mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
GitCherryPickTest: better string value of the hash
This commit is contained in:
@@ -77,7 +77,7 @@ hint: and commit the result with 'git commit'
|
||||
}
|
||||
|
||||
GitCommit commit(String commitMessage = "plain commit") {
|
||||
AbstractHash hash = AbstractHash.create(new SHA().toString())
|
||||
AbstractHash hash = AbstractHash.create(Integer.toHexString(new SHA().hashCode()))
|
||||
List<Change> changes = new ArrayList<Change>();
|
||||
changes.add(new Change(null, new MockContentRevision(new FilePathImpl(new MockVirtualFile("name")), VcsRevisionNumber.NULL)));
|
||||
new GitCommit(hash, SHAHash.emulate(hash), "John Smith", null, null, commitMessage, commitMessage, null, null, null, null, null, null,
|
||||
|
||||
Reference in New Issue
Block a user