Merge remote-tracking branch 'origin/master'

This commit is contained in:
Konstantin Bulenkov
2016-02-01 15:58:32 +01:00
@@ -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")
}