Commit 227fd845 authored by Him188's avatar Him188

No inline in tests

parent 3fbe7736
...@@ -11,13 +11,13 @@ import kotlin.test.assertTrue ...@@ -11,13 +11,13 @@ import kotlin.test.assertTrue
internal annotation class TestDSL internal annotation class TestDSL
@TestDSL @TestDSL
inline fun Boolean.shouldBeTrue() = assertTrue { this } fun Boolean.shouldBeTrue() = assertTrue { this }
@TestDSL @TestDSL
inline fun Boolean.shouldBeFalse() = assertFalse { this } fun Boolean.shouldBeFalse() = assertFalse { this }
@TestDSL @TestDSL
inline infix fun <E> E.shouldBeEqualTo(another: E) = assertEquals(another, this) infix fun <E> E.shouldBeEqualTo(another: E) = assertEquals(another, this)
@TestDSL @TestDSL
inline infix fun <E> E.shouldNotBeEqualTo(another: E) = assertNotEquals(another, this) infix fun <E> E.shouldNotBeEqualTo(another: E) = assertNotEquals(another, this)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment