[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:
committed by
Space Team
parent
07422d4feb
commit
8dcb763eca
+1
@@ -44,6 +44,7 @@ class Sample {
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
StateMachineChecker.reset()
|
||||
Sample().test()
|
||||
StateMachineChecker.check(0, checkFinished = false)
|
||||
return "OK"
|
||||
|
||||
Reference in New Issue
Block a user