summaryrefslogtreecommitdiffstats
path: root/pkg/gui/presentation/branches_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/presentation/branches_test.go')
-rw-r--r--pkg/gui/presentation/branches_test.go24
1 files changed, 12 insertions, 12 deletions
diff --git a/pkg/gui/presentation/branches_test.go b/pkg/gui/presentation/branches_test.go
index 250b143e3..cf2f1d994 100644
--- a/pkg/gui/presentation/branches_test.go
+++ b/pkg/gui/presentation/branches_test.go
@@ -58,8 +58,8 @@ func Test_getBranchDisplayStrings(t *testing.T) {
Name: "branch_name",
Recency: "1m",
UpstreamRemote: "origin",
- Pushables: "0",
- Pullables: "0",
+ AheadForPull: "0",
+ BehindForPull: "0",
},
itemOperation: types.ItemOperationNone,
fullDescription: false,
@@ -73,8 +73,8 @@ func Test_getBranchDisplayStrings(t *testing.T) {
Name: "branch_name",
Recency: "1m",
UpstreamRemote: "origin",
- Pushables: "3",
- Pullables: "5",
+ AheadForPull: "3",
+ BehindForPull: "5",
},
itemOperation: types.ItemOperationNone,
fullDescription: false,
@@ -99,8 +99,8 @@ func Test_getBranchDisplayStrings(t *testing.T) {
CommitHash: "1234567890",
UpstreamRemote: "origin",
UpstreamBranch: "branch_name",
- Pushables: "0",
- Pullables: "0",
+ AheadForPull: "0",
+ BehindForPull: "0",
Subject: "commit title",
},
itemOperation: types.ItemOperationNone,
@@ -144,8 +144,8 @@ func Test_getBranchDisplayStrings(t *testing.T) {
Name: "branch_name",
Recency: "1m",
UpstreamRemote: "origin",
- Pushables: "0",
- Pullables: "0",
+ AheadForPull: "0",
+ BehindForPull: "0",
},
itemOperation: types.ItemOperationNone,
fullDescription: false,
@@ -159,8 +159,8 @@ func Test_getBranchDisplayStrings(t *testing.T) {
Name: "branch_name",
Recency: "1m",
UpstreamRemote: "origin",
- Pushables: "3",
- Pullables: "5",
+ AheadForPull: "3",
+ BehindForPull: "5",
},
itemOperation: types.ItemOperationNone,
fullDescription: false,
@@ -212,8 +212,8 @@ func Test_getBranchDisplayStrings(t *testing.T) {
CommitHash: "1234567890",
UpstreamRemote: "origin",
UpstreamBranch: "branch_name",
- Pushables: "0",
- Pullables: "0",
+ AheadForPull: "0",
+ BehindForPull: "0",
Subject: "commit title",
},
itemOperation: types.ItemOperationNone,