From 571b51b6f9bb62ebe507b8578861d451b9b3cc00 Mon Sep 17 00:00:00 2001 From: Seyed Mojtaba Hosseini Zeidabadi Date: Tue, 1 Oct 2024 11:57:48 +0330 Subject: [PATCH 1/2] style: rename a test file because of a typo docs: fix a typo in a comment --- ...ationTests.swift => AuthBackendRPCImplementationTests.swift} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename FirebaseAuth/Tests/Unit/{AuthBackendRPCImplentationTests.swift => AuthBackendRPCImplementationTests.swift} (99%) diff --git a/FirebaseAuth/Tests/Unit/AuthBackendRPCImplentationTests.swift b/FirebaseAuth/Tests/Unit/AuthBackendRPCImplementationTests.swift similarity index 99% rename from FirebaseAuth/Tests/Unit/AuthBackendRPCImplentationTests.swift rename to FirebaseAuth/Tests/Unit/AuthBackendRPCImplementationTests.swift index e3e6748c887..f0030053c88 100644 --- a/FirebaseAuth/Tests/Unit/AuthBackendRPCImplentationTests.swift +++ b/FirebaseAuth/Tests/Unit/AuthBackendRPCImplementationTests.swift @@ -525,7 +525,7 @@ class AuthBackendRPCImplementationTests: RPCBaseTests { rpcIssuer.respondBlock = { // It doesn't matter what we respond with here, as long as it's not an error response. The // fake - // response will deterministicly simulate a decoding error regardless of the response value it + // response will deterministically simulate a decoding error regardless of the response value it // was given. try self.rpcIssuer.respond(withJSON: [kTestKey: kTestValue]) } From 32c44ab10716f2d8440c62f13dbf844bdfff229d Mon Sep 17 00:00:00 2001 From: Seyed Mojtaba Hosseini Zeidabadi Date: Tue, 1 Oct 2024 20:07:53 +0330 Subject: [PATCH 2/2] Satisfy the lint --- .../Tests/Unit/AuthBackendRPCImplementationTests.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/FirebaseAuth/Tests/Unit/AuthBackendRPCImplementationTests.swift b/FirebaseAuth/Tests/Unit/AuthBackendRPCImplementationTests.swift index f0030053c88..436d777ca10 100644 --- a/FirebaseAuth/Tests/Unit/AuthBackendRPCImplementationTests.swift +++ b/FirebaseAuth/Tests/Unit/AuthBackendRPCImplementationTests.swift @@ -524,9 +524,8 @@ class AuthBackendRPCImplementationTests: RPCBaseTests { let kTestValue = "TestValue" rpcIssuer.respondBlock = { // It doesn't matter what we respond with here, as long as it's not an error response. The - // fake - // response will deterministically simulate a decoding error regardless of the response value it - // was given. + // fake response will deterministically simulate a decoding error regardless of the response + // value it was given. try self.rpcIssuer.respond(withJSON: [kTestKey: kTestValue]) } let rpcResponse = try await rpcImplementation.call(with: FakeRequest(withRequestBody: [:]))