From c0f8150025ab080757b2b5352880401d3a6a502c Mon Sep 17 00:00:00 2001 From: Max Medvedev Date: Mon, 1 Feb 2016 10:48:42 +0300 Subject: [PATCH] fix compilation --- plugins/git4idea/tests/git4idea/repo/GitWorkTreeTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/git4idea/tests/git4idea/repo/GitWorkTreeTest.kt b/plugins/git4idea/tests/git4idea/repo/GitWorkTreeTest.kt index 057cbaf2cdf2..e63382d3a878 100644 --- a/plugins/git4idea/tests/git4idea/repo/GitWorkTreeTest.kt +++ b/plugins/git4idea/tests/git4idea/repo/GitWorkTreeTest.kt @@ -59,7 +59,7 @@ class GitWorkTreeTest : GitPlatformTest() { val branches = myRepo.branches val expectedBranches = listOf("master", "feature", "project") // 'project' is created automatically by `git worktree add` - assertSameElements(branches.localBranches.map {it.name}, expectedBranches) + assertSameElements("", branches.localBranches.map {it.name}, expectedBranches) assertBranchHash(masterHead, branches, "master") assertBranchHash(featureHead, branches, "feature") } @@ -80,7 +80,7 @@ class GitWorkTreeTest : GitPlatformTest() { myRepo.update() val branches = myRepo.branches - assertSameElements(branches.remoteBranches.map {it.nameForLocalOperations}, listOf("origin/master", "origin/feature")) + assertSameElements("", branches.remoteBranches.map {it.nameForLocalOperations}, listOf("origin/master", "origin/feature")) assertBranchHash(masterHead, branches, "origin/master") assertBranchHash(featureHead, branches, "origin/feature") }