Skip to content

Commit

Permalink
Fix warning with -Wmisleading-indentation.
Browse files Browse the repository at this point in the history
Top of tree clang supports `-Wmisleading-indentation` as a warning. It gets flagged
in one place in OCMock due to a mix of tabs and spaces. This fixes it by replacing one
tab with spaces.
  • Loading branch information
dmaclach committed Jun 2, 2020
1 parent 9b0e314 commit 901b8e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/OCMock/OCPartialMockObject.m
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ - (void)forwardInvocationForRealObject:(NSInvocation *)anInvocation
if(mock == nil)
[NSException raise:NSInternalInconsistencyException format:@"No partial mock for object %p", self];

if([mock handleInvocation:anInvocation] == NO)
if([mock handleInvocation:anInvocation] == NO)
{
[anInvocation setSelector:OCMAliasForOriginalSelector([anInvocation selector])];
[anInvocation invoke];
Expand Down

0 comments on commit 901b8e8

Please sign in to comment.