Skip to content

Commit

Permalink
FIRStorageReferenceTests fixed for Mac OS (#2350)
Browse files Browse the repository at this point in the history
  • Loading branch information
maksymmalyhin committed Feb 28, 2019
1 parent 3dbf22c commit 1155787
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Example/Storage/Tests/Unit/FIRStorageReferenceTests.m
Expand Up @@ -179,9 +179,9 @@ - (void)testReferenceWithNonExistentFileFailsWithCompletion {

XCTAssertEqualObjects(error.domain, FIRStorageErrorDomain);
XCTAssertEqual(error.code, FIRStorageErrorCodeUnknown);
XCTAssertEqualObjects(
error.localizedDescription,
@"File at URL: file:///some_non_existing-folder/file.data is not reachable.");
NSString *expectedDescription = [NSString
stringWithFormat:@"File at URL: %@ is not reachable.", dummyFileURL.absoluteString];
XCTAssertEqualObjects(error.localizedDescription, expectedDescription);
}];

[self waitForExpectationsWithTimeout:0.5 handler:NULL];
Expand Down

0 comments on commit 1155787

Please sign in to comment.