diff --git a/FirebaseAI/Tests/TestApp/Tests/Integration/SchemaTests.swift b/FirebaseAI/Tests/TestApp/Tests/Integration/SchemaTests.swift index bafd74e6008..431134d315a 100644 --- a/FirebaseAI/Tests/TestApp/Tests/Integration/SchemaTests.swift +++ b/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) diff --git a/FirebaseAuth/Tests/SampleSwift/SwiftApiTests/GoogleTests.swift b/FirebaseAuth/Tests/SampleSwift/SwiftApiTests/GoogleTests.swift index 1c1e9298327..a61215c6b71 100644 --- a/FirebaseAuth/Tests/SampleSwift/SwiftApiTests/GoogleTests.swift +++ b/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" + diff --git a/FirebaseStorage/Sources/StorageTask.swift b/FirebaseStorage/Sources/StorageTask.swift index a745b50db32..84bc23fba22 100644 --- a/FirebaseStorage/Sources/StorageTask.swift +++ b/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() } diff --git a/Mintfile b/Mintfile index 640a5ca2d00..3eb1574399a 100644 --- a/Mintfile +++ b/Mintfile @@ -1 +1 @@ -nicklockwood/SwiftFormat@0.54.0 +nicklockwood/SwiftFormat@0.55.5