Skip to content

Commit

Permalink
integration test stability fix
Browse files Browse the repository at this point in the history
  • Loading branch information
morisil committed Oct 17, 2024
1 parent 45fb58d commit aad874b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commonTest/kotlin/AnthropicTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ class AnthropicTest {
}

finalResponse.content[0] shouldBe instanceOf<Text>()
(finalResponse.content[0] as Text).text shouldContain "6,378,911.8"
// the result might be in the format: 6,378,911.8....
(finalResponse.content[0] as Text).text.replace(",", "") shouldContain "6378911.8"
}

@Test
Expand Down

0 comments on commit aad874b

Please sign in to comment.