mirror of
https://github.com/grdl/git-get.git
synced 2026-02-04 20:54:41 +00:00
Fix tests after changing the way branches are ordered
"master" branch is now always on top.
This commit is contained in:
@@ -73,12 +73,12 @@ func TestStatus(t *testing.T) {
|
||||
CurrentBranch: "master",
|
||||
Branches: []*BranchStatus{
|
||||
{
|
||||
Name: "local",
|
||||
Name: "master",
|
||||
Upstream: "",
|
||||
NeedsPull: false,
|
||||
NeedsPush: false,
|
||||
}, {
|
||||
Name: "master",
|
||||
Name: "local",
|
||||
Upstream: "",
|
||||
NeedsPull: false,
|
||||
NeedsPush: false,
|
||||
@@ -91,13 +91,13 @@ func TestStatus(t *testing.T) {
|
||||
CurrentBranch: "local",
|
||||
Branches: []*BranchStatus{
|
||||
{
|
||||
Name: "local",
|
||||
Upstream: "",
|
||||
Name: "master",
|
||||
Upstream: "origin/master",
|
||||
NeedsPull: false,
|
||||
NeedsPush: false,
|
||||
}, {
|
||||
Name: "master",
|
||||
Upstream: "origin/master",
|
||||
Name: "local",
|
||||
Upstream: "",
|
||||
NeedsPull: false,
|
||||
NeedsPush: false,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user