GitBranchWorkerTest: sort local changes to let assertion work.

This commit is contained in:
Kirill Likhodedov
2012-10-11 17:35:16 +04:00
parent 6dda4ec065
commit 4c7db311db
@@ -321,7 +321,9 @@ class GitBranchWorkerTest {
if (newGitVersion()) {
assertEquals "Incorrect set of local changes was shown in the dialog",
localChanges,
changes.collect({ FileUtil.getRelativePath(myUltimate.root.path, it.afterRevision.file.path, File.separatorChar) })
changes.collect({
FileUtil.getRelativePath(myUltimate.root.path, it.afterRevision.file.path, File.separatorChar) }
).sort()
}
}