From 901b8e8acab214c83b1dbd15630b241aecadf402 Mon Sep 17 00:00:00 2001 From: Dave MacLachlan Date: Mon, 1 Jun 2020 14:57:13 -0700 Subject: [PATCH] Fix warning with `-Wmisleading-indentation`. 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. --- Source/OCMock/OCPartialMockObject.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/OCMock/OCPartialMockObject.m b/Source/OCMock/OCPartialMockObject.m index fc5837e7..dc7d5982 100644 --- a/Source/OCMock/OCPartialMockObject.m +++ b/Source/OCMock/OCPartialMockObject.m @@ -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];