diff options
author | Marek Gilbert <mcg@google.com> | 2017-08-02 10:24:43 -0700 |
---|---|---|
committer | Marek Gilbert <mcg@google.com> | 2017-08-02 11:07:57 -0700 |
commit | 360f7bed25d2a04f8e85549fdbc52dd5c10c2908 (patch) | |
tree | dee70028697e0322249445990fa9fb8d24301765 | |
parent | 3baeb4e87ff6ace52b31de1916c9ef52e0053590 (diff) |
Result of clang-format with AllowShortFunctionsOnASingleLine: None
-rw-r--r-- | Example/Core/App/macOS/main.m | 4 | ||||
-rw-r--r-- | Example/Core/Tests/FIRAppAssociationRegistrationUnitTests.m | 4 | ||||
-rw-r--r-- | Example/Core/Tests/FIRAppTest.m | 4 | ||||
-rw-r--r-- | Firebase/Core/FIRLogger.m | 12 |
4 files changed, 18 insertions, 6 deletions
diff --git a/Example/Core/App/macOS/main.m b/Example/Core/App/macOS/main.m index 65a9352..45ed70f 100644 --- a/Example/Core/App/macOS/main.m +++ b/Example/Core/App/macOS/main.m @@ -16,4 +16,6 @@ #import <Cocoa/Cocoa.h> -int main(int argc, const char* argv[]) { return NSApplicationMain(argc, argv); } +int main(int argc, const char* argv[]) { + return NSApplicationMain(argc, argv); +} diff --git a/Example/Core/Tests/FIRAppAssociationRegistrationUnitTests.m b/Example/Core/Tests/FIRAppAssociationRegistrationUnitTests.m index 186e61b..74ebd5e 100644 --- a/Example/Core/Tests/FIRAppAssociationRegistrationUnitTests.m +++ b/Example/Core/Tests/FIRAppAssociationRegistrationUnitTests.m @@ -34,7 +34,9 @@ static NSString *kKey2 = @"key2"; /** @var gCreateNewObject @brief A block that returns a new object everytime it is called. */ -static id _Nullable (^gCreateNewObject)() = ^id _Nullable() { return [[NSObject alloc] init]; }; +static id _Nullable (^gCreateNewObject)() = ^id _Nullable() { + return [[NSObject alloc] init]; +}; /** @class FIRAppAssociationRegistrationTests @brief Tests for @c FIRAppAssociationRegistration diff --git a/Example/Core/Tests/FIRAppTest.m b/Example/Core/Tests/FIRAppTest.m index 8ba64e2..4a76b96 100644 --- a/Example/Core/Tests/FIRAppTest.m +++ b/Example/Core/Tests/FIRAppTest.m @@ -564,7 +564,9 @@ NSString *const kFIRTestAppName2 = @"test-app-name-2"; - (void)testAuthGetUID { [FIRApp configure]; - [FIRApp defaultApp].getUIDImplementation = ^NSString * { return @"highlander"; }; + [FIRApp defaultApp].getUIDImplementation = ^NSString * { + return @"highlander"; + }; XCTAssertEqual([[FIRApp defaultApp] getUID], @"highlander"); } diff --git a/Firebase/Core/FIRLogger.m b/Firebase/Core/FIRLogger.m index eac8dc0..e20b64d 100644 --- a/Firebase/Core/FIRLogger.m +++ b/Firebase/Core/FIRLogger.m @@ -166,11 +166,17 @@ void FIRResetLogger() { [[NSUserDefaults standardUserDefaults] removeObjectForKey:kFIRPersistedDebugModeKey]; } -aslclient getFIRLoggerClient() { return sFIRLoggerClient; } +aslclient getFIRLoggerClient() { + return sFIRLoggerClient; +} -dispatch_queue_t getFIRClientQueue() { return sFIRClientQueue; } +dispatch_queue_t getFIRClientQueue() { + return sFIRClientQueue; +} -BOOL getFIRLoggerDebugMode() { return sFIRLoggerDebugMode; } +BOOL getFIRLoggerDebugMode() { + return sFIRLoggerDebugMode; +} #endif void FIRLogBasic(FIRLoggerLevel level, |