Skip to content

Commit 4c3c553

Browse files
committed
fixup! Move CopyableThreadContextElement to common
1 parent 5040461 commit 4c3c553

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: kotlinx-coroutines-core/common/test/ThreadContextMutableCopiesTest.kt

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ import kotlin.test.assertNotSame
1313

1414
class CommonThreadContextMutableCopiesTest : TestBase() {
1515
companion object {
16-
internal val threadLocalData = commonThreadLocal<MutableList<String>>(Symbol("ThreadLocalData"))
16+
internal val threadLocalData = commonThreadLocal<MutableList<String>>(Symbol("ThreadLocalData")).also {
17+
it.set(mutableListOf())
18+
}
1719
}
1820

1921
class MyMutableElement(

0 commit comments

Comments
 (0)