Skip to content

Commit af86a9f

Browse files
committed
Let the compiler infer the type.
1 parent b4485ee commit af86a9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ObjectiveGitTests/GTRepositorySpec.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@
525525
});
526526

527527
it(@"should contain local branches", ^{
528-
NSInteger index = [branches indexOfObjectPassingTest:^BOOL(GTBranch *branch, NSUInteger idx, BOOL *stop) {
528+
NSInteger index = [branches indexOfObjectPassingTest:^(GTBranch *branch, NSUInteger idx, BOOL *stop) {
529529
return [branch.shortName isEqual:@"new-shite"];
530530
}];
531531
expect(@(index)).notTo(equal(@(NSNotFound)));

0 commit comments

Comments
 (0)