Skip to content

Commit b4485ee

Browse files
committed
Better names.
1 parent 3526fe7 commit b4485ee

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

ObjectiveGitTests/GTRepositorySpec.m

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -500,27 +500,27 @@
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

0 commit comments

Comments
 (0)