mirror of
https://github.com/grdl/git-get.git
synced 2026-02-12 14:16:18 +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",
|
CurrentBranch: "master",
|
||||||
Branches: []*BranchStatus{
|
Branches: []*BranchStatus{
|
||||||
{
|
{
|
||||||
Name: "local",
|
Name: "master",
|
||||||
Upstream: "",
|
Upstream: "",
|
||||||
NeedsPull: false,
|
NeedsPull: false,
|
||||||
NeedsPush: false,
|
NeedsPush: false,
|
||||||
}, {
|
}, {
|
||||||
Name: "master",
|
Name: "local",
|
||||||
Upstream: "",
|
Upstream: "",
|
||||||
NeedsPull: false,
|
NeedsPull: false,
|
||||||
NeedsPush: false,
|
NeedsPush: false,
|
||||||
@@ -91,13 +91,13 @@ func TestStatus(t *testing.T) {
|
|||||||
CurrentBranch: "local",
|
CurrentBranch: "local",
|
||||||
Branches: []*BranchStatus{
|
Branches: []*BranchStatus{
|
||||||
{
|
{
|
||||||
Name: "local",
|
Name: "master",
|
||||||
Upstream: "",
|
Upstream: "origin/master",
|
||||||
NeedsPull: false,
|
NeedsPull: false,
|
||||||
NeedsPush: false,
|
NeedsPush: false,
|
||||||
}, {
|
}, {
|
||||||
Name: "master",
|
Name: "local",
|
||||||
Upstream: "origin/master",
|
Upstream: "",
|
||||||
NeedsPull: false,
|
NeedsPull: false,
|
||||||
NeedsPush: false,
|
NeedsPush: false,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user