From 36243cf9e83d3bde5e5c86ab5a5c60254efe10bd Mon Sep 17 00:00:00 2001 From: Ryan Wilson Date: Wed, 5 Dec 2018 09:28:19 -0500 Subject: [PATCH] Silence Storage Unit Test `nil` warning. --- Example/Storage/Tests/Unit/FIRStoragePathTests.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Example/Storage/Tests/Unit/FIRStoragePathTests.m b/Example/Storage/Tests/Unit/FIRStoragePathTests.m index 017f41d52ea..4730a55a3e6 100644 --- a/Example/Storage/Tests/Unit/FIRStoragePathTests.m +++ b/Example/Storage/Tests/Unit/FIRStoragePathTests.m @@ -109,7 +109,10 @@ - (void)testchildToRoot { - (void)testChildByAppendingNilToRoot { FIRStoragePath *path = [[FIRStoragePath alloc] initWithBucket:@"bucket" object:nil]; +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wnonnull" FIRStoragePath *childPath = [path child:nil]; +#pragma clang diagnostic pop XCTAssertEqualObjects([childPath stringValue], @"gs://bucket/"); }