File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 500
500
});
501
501
502
502
it (@" should combine a local branch with its remote branch" , ^{
503
- NSMutableArray *localBranchAs = [NSMutableArray array ];
504
- NSMutableArray *remoteBranchAs = [NSMutableArray array ];
503
+ NSMutableArray *localBranches = [NSMutableArray array ];
504
+ NSMutableArray *remoteBranches = [NSMutableArray array ];
505
505
for (GTBranch *branch in branches) {
506
506
if ([branch.shortName isEqual: @" BranchA" ]) {
507
507
if (branch.branchType == GTBranchTypeLocal) {
508
- [localBranchAs addObject: branch];
508
+ [localBranches addObject: branch];
509
509
} else {
510
- [remoteBranchAs addObject: branch];
510
+ [remoteBranches addObject: branch];
511
511
}
512
512
}
513
513
}
514
514
515
- expect (@(localBranchAs .count )).to (equal (@1 ));
515
+ expect (@(localBranches .count )).to (equal (@1 ));
516
516
517
- GTBranch *localBranchA = localBranchAs [0 ];
517
+ GTBranch *localBranchA = localBranches [0 ];
518
518
GTBranch *trackingBranch = [localBranchA trackingBranchWithError: NULL success: NULL ];
519
519
expect (trackingBranch.remoteName ).to (equal (@" origin" ));
520
520
521
- expect (@(remoteBranchAs .count )).to (equal (@1 ));
521
+ expect (@(remoteBranches .count )).to (equal (@1 ));
522
522
523
- GTBranch *remoteBranchA = remoteBranchAs [0 ];
523
+ GTBranch *remoteBranchA = remoteBranches [0 ];
524
524
expect (remoteBranchA.remoteName ).to (equal (@" github" ));
525
525
});
526
526
You can’t perform that action at this time.
0 commit comments