Skip to content

[CI] Update to swiftformat 0.55.5 #14810

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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" +
Expand Down
8 changes: 4 additions & 4 deletions FirebaseStorage/Sources/StorageTask.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
2 changes: 1 addition & 1 deletion Mintfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nicklockwood/SwiftFormat@0.54.0
nicklockwood/SwiftFormat@0.55.5
Loading