[K/N][test] Reset state in StateMachineChecker before the test

boxInline tests for suspend use StateMachineChecker and share the state
if compiled and run together. The single value accessed from all tests.
It is enough to reset state before the test is run.
This commit is contained in:
Pavel Punegov
2024-02-12 12:56:42 +01:00
committed by Space Team
parent 07422d4feb
commit 8dcb763eca
23 changed files with 23 additions and 0 deletions
@@ -35,6 +35,7 @@ fun builder(c: suspend () -> Unit) {
}
fun box(): String {
StateMachineChecker.reset()
builder {
crossinlineMe {
StateMachineChecker.suspendHere()