kotlin.test.DefaultAsserter.kt Maven / Gradle / Ivy
package kotlin.test
/**
* Default [Asserter] implementation to avoid dependency on JUnit or TestNG.
*/
class DefaultAsserter() : Asserter {
override fun fail(message: String?): Nothing {
if (message == null)
throw AssertionError()
else
throw AssertionError(message)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy