
commonMain.io.kotlintest.aliases.kt Maven / Gradle / Ivy
package io.kotlintest
import io.kotest.matchers.shouldBe
import io.kotest.matchers.shouldNotBe
@Deprecated(
"All packages are now io.kotest",
ReplaceWith("shouldThrowAnyUnit(block)", "io.kotest.assertions.throwables")
)
inline fun shouldThrowAnyUnit(block: () -> Unit) = io.kotest.assertions.throwables.shouldThrowAnyUnit(block)
@Deprecated("All packages are now io.kotest", ReplaceWith("io.kotest.assertions.throwables.shouldThrow(block)", "io"))
inline fun shouldThrow(block: () -> Any?): T =
io.kotest.assertions.throwables.shouldThrow(block)
@Deprecated("All package names are now io.kotest")
infix fun T.shouldBe(any: U?) = this shouldBe any
@Deprecated("All package names are now io.kotest")
infix fun T.shouldNotBe(any: Any?) = this shouldNotBe any
@Deprecated("All package names are now io.kotest")
fun assertSoftly(block: () -> T): T = io.kotest.assertions.assertSoftly(block)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy