aboutsummaryrefslogtreecommitdiffhomepage
path: root/Example/Core
diff options
context:
space:
mode:
authorGravatar Marek Gilbert <mcg@google.com>2017-08-02 10:24:43 -0700
committerGravatar Marek Gilbert <mcg@google.com>2017-08-02 11:07:57 -0700
commit360f7bed25d2a04f8e85549fdbc52dd5c10c2908 (patch)
treedee70028697e0322249445990fa9fb8d24301765 /Example/Core
parent3baeb4e87ff6ace52b31de1916c9ef52e0053590 (diff)
Result of clang-format with AllowShortFunctionsOnASingleLine: None
Diffstat (limited to 'Example/Core')
-rw-r--r--Example/Core/App/macOS/main.m4
-rw-r--r--Example/Core/Tests/FIRAppAssociationRegistrationUnitTests.m4
-rw-r--r--Example/Core/Tests/FIRAppTest.m4
3 files changed, 9 insertions, 3 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");
}