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 500500 });
501501
502502 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 ];
505505 for (GTBranch *branch in branches) {
506506 if ([branch.shortName isEqual: @" BranchA" ]) {
507507 if (branch.branchType == GTBranchTypeLocal) {
508- [localBranchAs addObject: branch];
508+ [localBranches addObject: branch];
509509 } else {
510- [remoteBranchAs addObject: branch];
510+ [remoteBranches addObject: branch];
511511 }
512512 }
513513 }
514514
515- expect (@(localBranchAs .count )).to (equal (@1 ));
515+ expect (@(localBranches .count )).to (equal (@1 ));
516516
517- GTBranch *localBranchA = localBranchAs [0 ];
517+ GTBranch *localBranchA = localBranches [0 ];
518518 GTBranch *trackingBranch = [localBranchA trackingBranchWithError: NULL success: NULL ];
519519 expect (trackingBranch.remoteName ).to (equal (@" origin" ));
520520
521- expect (@(remoteBranchAs .count )).to (equal (@1 ));
521+ expect (@(remoteBranches .count )).to (equal (@1 ));
522522
523- GTBranch *remoteBranchA = remoteBranchAs [0 ];
523+ GTBranch *remoteBranchA = remoteBranches [0 ];
524524 expect (remoteBranchA.remoteName ).to (equal (@" github" ));
525525 });
526526
You can’t perform that action at this time.
0 commit comments