aboutsummaryrefslogtreecommitdiff
path: root/reactive/kotlinx-coroutines-reactor/test/MonoTest.kt
diff options
context:
space:
mode:
Diffstat (limited to 'reactive/kotlinx-coroutines-reactor/test/MonoTest.kt')
-rw-r--r--reactive/kotlinx-coroutines-reactor/test/MonoTest.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/reactive/kotlinx-coroutines-reactor/test/MonoTest.kt b/reactive/kotlinx-coroutines-reactor/test/MonoTest.kt
index 0271483f..551988b8 100644
--- a/reactive/kotlinx-coroutines-reactor/test/MonoTest.kt
+++ b/reactive/kotlinx-coroutines-reactor/test/MonoTest.kt
@@ -235,7 +235,7 @@ class MonoTest : TestBase() {
} finally {
throw TestException() // would not be able to handle it since mono is disposed
}
- }.contextWrite { Context.of("reactor.onOperatorError.local", handler) }
+ }.subscriberContext { Context.of("reactor.onOperatorError.local", handler) }
mono.subscribe(object : Subscriber<Unit> {
override fun onSubscribe(s: Subscription) {
expect(2)