We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 694cd58 commit 050d15aCopy full SHA for 050d15a
kotlinx-coroutines-core/common/test/ThreadContextMutableCopiesTest.kt
@@ -13,7 +13,9 @@ import kotlin.test.assertNotSame
13
14
class CommonThreadContextMutableCopiesTest : TestBase() {
15
companion object {
16
- internal val threadLocalData = commonThreadLocal<MutableList<String>>(Symbol("ThreadLocalData"))
+ internal val threadLocalData = commonThreadLocal<MutableList<String>>(Symbol("ThreadLocalData")).also {
17
+ it.set(mutableListOf())
18
+ }
19
}
20
21
class MyMutableElement(
0 commit comments