From 360f7bed25d2a04f8e85549fdbc52dd5c10c2908 Mon Sep 17 00:00:00 2001 From: Marek Gilbert Date: Wed, 2 Aug 2017 10:24:43 -0700 Subject: Result of clang-format with AllowShortFunctionsOnASingleLine: None --- Example/Core/App/macOS/main.m | 4 +++- Example/Core/Tests/FIRAppAssociationRegistrationUnitTests.m | 4 +++- Example/Core/Tests/FIRAppTest.m | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'Example/Core') 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 -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"); } -- cgit v1.2.3