diff --git a/suite/src/commonMain/kotlin/SuiteDsl.kt b/suite/src/commonMain/kotlin/SuiteDsl.kt index 08b38f9..0a63a8a 100644 --- a/suite/src/commonMain/kotlin/SuiteDsl.kt +++ b/suite/src/commonMain/kotlin/SuiteDsl.kt @@ -186,6 +186,7 @@ interface TestDsl : PreparedDsl { /** * Realizes a [Prepared] value in the context of this test. */ + @IgnorableReturnValue suspend operator fun Prepared.invoke(): T = executeIn(this@TestDsl) @@ -210,6 +211,7 @@ interface TestDsl : PreparedDsl { * benefit from the other features of this library. * Sometimes, however, we just need a single value at a single point in time, which is why this function exists. */ + @IgnorableReturnValue suspend fun PreparedProvider.immediate(name: String = "Immediate value #${randomInt()}"): T = named(name)()