Skip to content

Commit b51d06b

Browse files
authored
[CI] Update to swiftformat 0.55.5 (#14810)
1 parent 6efa753 commit b51d06b

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

FirebaseAI/Tests/TestApp/Tests/Integration/SchemaTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ import VertexAITestApp
2525

2626
@testable import struct FirebaseAI.BackendError
2727

28-
@Suite(.serialized)
2928
/// Test the schema fields.
29+
@Suite(.serialized)
3030
struct SchemaTests {
3131
// Set temperature, topP and topK to lowest allowed values to make responses more deterministic.
3232
let generationConfig = GenerationConfig(temperature: 0.0, topP: 0.0, topK: 1)

FirebaseAuth/Tests/SampleSwift/SwiftApiTests/GoogleTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,12 @@ class GoogleTests: TestsBase {
8484
return returnValue
8585
}
8686

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

FirebaseStorage/Sources/StorageTask.swift

+4-4
Original file line numberDiff line numberDiff line change
@@ -104,20 +104,20 @@ import Foundation
104104
/**
105105
* Prepares a task and begins execution.
106106
*/
107-
@objc func enqueue() -> Void
107+
@objc func enqueue()
108108

109109
/**
110110
* Pauses a task currently in progress.
111111
*/
112-
@objc optional func pause() -> Void
112+
@objc optional func pause()
113113

114114
/**
115115
* Cancels a task.
116116
*/
117-
@objc optional func cancel() -> Void
117+
@objc optional func cancel()
118118

119119
/**
120120
* Resumes a paused task.
121121
*/
122-
@objc optional func resume() -> Void
122+
@objc optional func resume()
123123
}

Mintfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nicklockwood/SwiftFormat@0.54.0
1+
nicklockwood/SwiftFormat@0.55.5

0 commit comments

Comments
 (0)