From 4c7db311db31214a30aeb533c123e01d54a10ddc Mon Sep 17 00:00:00 2001 From: Kirill Likhodedov Date: Thu, 11 Oct 2012 16:45:31 +0400 Subject: [PATCH] GitBranchWorkerTest: sort local changes to let assertion work. --- .../git4idea/tests/git4idea/branch/GitBranchWorkerTest.groovy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/git4idea/tests/git4idea/branch/GitBranchWorkerTest.groovy b/plugins/git4idea/tests/git4idea/branch/GitBranchWorkerTest.groovy index e7d6005fcf13..43497f755090 100644 --- a/plugins/git4idea/tests/git4idea/branch/GitBranchWorkerTest.groovy +++ b/plugins/git4idea/tests/git4idea/branch/GitBranchWorkerTest.groovy @@ -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() } }