From 4895f35fdb86094997d7f9431d8f4b80db3c1938 Mon Sep 17 00:00:00 2001 From: Rodrigo Lazo Paz Date: Mon, 18 Mar 2024 16:53:17 -0400 Subject: [PATCH] Typo --- .../ai/client/generativeai/common/StreamingSnapshotTests.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/src/test/java/com/google/ai/client/generativeai/common/StreamingSnapshotTests.kt b/common/src/test/java/com/google/ai/client/generativeai/common/StreamingSnapshotTests.kt index 5acb58a3..7f151320 100644 --- a/common/src/test/java/com/google/ai/client/generativeai/common/StreamingSnapshotTests.kt +++ b/common/src/test/java/com/google/ai/client/generativeai/common/StreamingSnapshotTests.kt @@ -24,6 +24,7 @@ import com.google.ai.client.generativeai.common.util.goldenStreamingFile import io.kotest.assertions.throwables.shouldThrow import io.kotest.matchers.nulls.shouldNotBeNull import io.kotest.matchers.shouldBe +import io.kotest.matchers.string.shouldContain import io.ktor.http.HttpStatusCode import kotlin.time.Duration.Companion.seconds import kotlinx.coroutines.flow.collect @@ -90,7 +91,7 @@ internal class StreamingSnapshotTests { responseList.isEmpty() shouldBe false val part = responseList.first().candidates?.first()?.content?.parts?.first() as? TextPart part.shouldNotBeNull() - part.text shouldsContain "\"" + part.text shouldContain "\"" } }