Skip to content

Commit 14f07ad

Browse files
committed
Fix integration test
1 parent 79ba1ff commit 14f07ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FirebaseAI/Tests/TestApp/Tests/Integration/GenerateContentIntegrationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ struct GenerateContentIntegrationTests {
435435
let executableCodeParts = candidate.content.parts.compactMap { $0 as? ExecutableCodePart }
436436
#expect(executableCodeParts.count == 1)
437437
let executableCodePart = try #require(executableCodeParts.first)
438-
#expect(executableCodePart.language == "PYTHON")
438+
#expect(executableCodePart.language == .python)
439439
#expect(executableCodePart.code.contains("sum"))
440440
let codeExecutionResults = candidate.content.parts.compactMap { $0 as? CodeExecutionResultPart }
441441
#expect(codeExecutionResults.count == 1)

0 commit comments

Comments
 (0)