Run CLANGFORMAT for FlipperKitTestUtils

Summary:
This diff runs CLANGFORMAT lint on FlipperKitTestUtils. I have added CLANGFORMAT as the lint engined for objc files in xplat/sonar. Right now the iOS folder is not formatted according to CLANGFORMAT.
Ran `arc lint -a --paths-cmd "find ./iOS/FlipperKitTestUtils -type f" --verbose`

Reviewed By: passy

Differential Revision: D19942175

fbshipit-source-id: a5067100e604aad438fef1842157217a8cd1734c
This commit is contained in:
Pritesh Nandgaonkar
2020-02-17 10:46:43 -08:00
committed by Facebook Github Bot
parent 38478842df
commit a19a430eee
5 changed files with 37 additions and 33 deletions

View File

@@ -9,8 +9,7 @@
@implementation FlipperResponderMock
- (instancetype)init
{
- (instancetype)init {
if (self = [super init]) {
_successes = @[];
_errors = @[];
@@ -18,13 +17,11 @@
return self;
}
- (void)success:(NSDictionary *)response
{
- (void)success:(NSDictionary*)response {
_successes = [_successes arrayByAddingObject:response];
}
- (void)error:(NSDictionary *)response
{
- (void)error:(NSDictionary*)response {
_errors = [_errors arrayByAddingObject:response];
}