Him188 пре 6 година
родитељ
комит
227fd84533
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4 4
      mirai-core/src/commonTest/kotlin/net.mamoe.mirai.test/TestDSL.kt

+ 4 - 4
mirai-core/src/commonTest/kotlin/net.mamoe.mirai.test/TestDSL.kt

@@ -11,13 +11,13 @@ import kotlin.test.assertTrue
 internal annotation class TestDSL
 
 @TestDSL
-inline fun Boolean.shouldBeTrue() = assertTrue { this }
+fun Boolean.shouldBeTrue() = assertTrue { this }
 
 @TestDSL
-inline fun Boolean.shouldBeFalse() = assertFalse { this }
+fun Boolean.shouldBeFalse() = assertFalse { this }
 
 @TestDSL
-inline infix fun <E> E.shouldBeEqualTo(another: E) = assertEquals(another, this)
+infix fun <E> E.shouldBeEqualTo(another: E) = assertEquals(another, this)
 
 @TestDSL
-inline infix fun <E> E.shouldNotBeEqualTo(another: E) = assertNotEquals(another, this)
+infix fun <E> E.shouldNotBeEqualTo(another: E) = assertNotEquals(another, this)