diff --git a/plugins/git4idea/tests/git4idea/repo/GitWorkTreeTest.kt b/plugins/git4idea/tests/git4idea/repo/GitWorkTreeTest.kt index e63382d3a878..7c338510ce43 100644 --- a/plugins/git4idea/tests/git4idea/repo/GitWorkTreeTest.kt +++ b/plugins/git4idea/tests/git4idea/repo/GitWorkTreeTest.kt @@ -59,7 +59,8 @@ 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("Local branches are identified incorrectly", + branches.localBranches.map {it.name}, expectedBranches) assertBranchHash(masterHead, branches, "master") assertBranchHash(featureHead, branches, "feature") } @@ -80,7 +81,8 @@ class GitWorkTreeTest : GitPlatformTest() { myRepo.update() val branches = myRepo.branches - assertSameElements("", branches.remoteBranches.map {it.nameForLocalOperations}, listOf("origin/master", "origin/feature")) + assertSameElements("Remote branches are identified incorrectly", + branches.remoteBranches.map {it.nameForLocalOperations}, listOf("origin/master", "origin/feature")) assertBranchHash(masterHead, branches, "origin/master") assertBranchHash(featureHead, branches, "origin/feature") }