Răsfoiți Sursa

[CI] Update to swiftformat 0.55.5 (#14810)

Paul Beusterien 11 luni în urmă
părinte
comite
b51d06bebf

+ 1 - 1
FirebaseAI/Tests/TestApp/Tests/Integration/SchemaTests.swift

@@ -25,8 +25,8 @@ import VertexAITestApp
 
 @testable import struct FirebaseAI.BackendError
 
-@Suite(.serialized)
 /// Test the schema fields.
+@Suite(.serialized)
 struct SchemaTests {
   // Set temperature, topP and topK to lowest allowed values to make responses more deterministic.
   let generationConfig = GenerationConfig(temperature: 0.0, topP: 0.0, topK: 1)

+ 1 - 1
FirebaseAuth/Tests/SampleSwift/SwiftApiTests/GoogleTests.swift

@@ -84,12 +84,12 @@ class GoogleTests: TestsBase {
     return returnValue
   }
 
-  @available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
   /// Sends http request to Google OAuth2 token server to use refresh token to exchange for Google
   /// access token.
   /// Returns a dictionary that constains "access_token", "token_type", "expires_in" and sometimes
   /// the "id_token". (The id_token is not guaranteed to be returned during a refresh exchange;
   /// see https://openid.net/specs/openid-connect-core-1_0.html#RefreshTokenResponse)
+  @available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
   func getGoogleAccessTokenAsync() async throws -> [String: Any] {
     let googleOauth2TokenServerUrl = "https://www.googleapis.com/oauth2/v4/token"
     let bodyString = "client_id=\(Credentials.kGoogleClientID)&grant_type=refresh_token" +

+ 4 - 4
FirebaseStorage/Sources/StorageTask.swift

@@ -104,20 +104,20 @@ import Foundation
   /**
    * Prepares a task and begins execution.
    */
-  @objc func enqueue() -> Void
+  @objc func enqueue()
 
   /**
    * Pauses a task currently in progress.
    */
-  @objc optional func pause() -> Void
+  @objc optional func pause()
 
   /**
    * Cancels a task.
    */
-  @objc optional func cancel() -> Void
+  @objc optional func cancel()
 
   /**
    * Resumes a paused task.
    */
-  @objc optional func resume() -> Void
+  @objc optional func resume()
 }

+ 1 - 1
Mintfile

@@ -1 +1 @@
-nicklockwood/SwiftFormat@0.54.0
+nicklockwood/SwiftFormat@0.55.5