We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc6b30e commit f0f8477Copy full SHA for f0f8477
FirebaseAI/Tests/Unit/Types/GenerateContentResponseTests.swift
@@ -175,7 +175,7 @@ final class GenerateContentResponseTests: XCTestCase {
175
176
func testCandidateIsEmpty_withURLContextMetadata_isFalse() throws {
177
let urlMetadata = URLMetadata(
178
- retrievedURL: URL(string: "https://google.com")!,
+ retrievedURL: try XCTUnwrap(URL(string: "https://google.com")),
179
retrievalStatus: .success
180
)
181
let urlContextMetadata = URLContextMetadata(urlMetadata: [urlMetadata])
0 commit comments