Skip to content

Commit

Permalink
Verify localizedDescription with FunctionsInvalid Argument error (#9857)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 authored May 27, 2022
1 parent c941e2f commit a71dbaf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ - (void)testHttpError {
completion:^(FIRHTTPSCallableResult *_Nullable result, NSError *_Nullable error) {
XCTAssertNotNil(error);
XCTAssertEqual(FIRFunctionsErrorCodeInvalidArgument, error.code);
XCTAssertEqualObjects(error.localizedDescription, @"INVALID ARGUMENT");
[expectation fulfill];
}];
[self waitForExpectations:@[ expectation ] timeout:10];
Expand Down

0 comments on commit a71dbaf

Please sign in to comment.