diff --git a/test/com/j0rsa/labot/client/GoogleTest.kt b/test/com/j0rsa/labot/client/GoogleTest.kt index 5894938..bb54f0a 100644 --- a/test/com/j0rsa/labot/client/GoogleTest.kt +++ b/test/com/j0rsa/labot/client/GoogleTest.kt @@ -2,13 +2,12 @@ package com.j0rsa.labot.client import com.j0rsa.labot.client.support.Google import io.kotest.core.spec.style.StringSpec -import io.kotest.matchers.collections.shouldBeOneOf -import io.kotest.matchers.shouldBe +import io.kotest.matchers.collections.shouldBeIn class GoogleTest : StringSpec({ "translate" { - Google.translateEnToRu("Some example") shouldBeOneOf listOf( + Google.translateEnToRu("Some example") shouldBeIn listOf( "Какой-то пример", "Некоторый пример", )