Skip to content

Commit f0f8477

Browse files
Update FirebaseAI/Tests/Unit/Types/GenerateContentResponseTests.swift
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent fc6b30e commit f0f8477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FirebaseAI/Tests/Unit/Types/GenerateContentResponseTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ final class GenerateContentResponseTests: XCTestCase {
175175

176176
func testCandidateIsEmpty_withURLContextMetadata_isFalse() throws {
177177
let urlMetadata = URLMetadata(
178-
retrievedURL: URL(string: "https://google.com")!,
178+
retrievedURL: try XCTUnwrap(URL(string: "https://google.com")),
179179
retrievalStatus: .success
180180
)
181181
let urlContextMetadata = URLContextMetadata(urlMetadata: [urlMetadata])

0 commit comments

Comments
 (0)