Skip to content

Commit fe9f50b

Browse files
committed
Fix deprecation error
1 parent 603bd79 commit fe9f50b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

reactive/kotlinx-coroutines-jdk9/test/PublishTest.kt

+1-3
Original file line numberDiff line numberDiff line change
@@ -278,10 +278,8 @@ class PublishTest : TestBase() {
278278
val publisher = flowPublish {
279279
assertFailsWith<NullPointerException> { send(null) }
280280
assertFailsWith<NullPointerException> { trySend(null) }
281-
@Suppress("DEPRECATION")
282-
assertFailsWith<NullPointerException> { offer(null) }
283281
send("OK")
284282
}
285283
assertEquals("OK", publisher.awaitFirstOrNull())
286284
}
287-
}
285+
}

0 commit comments

Comments
 (0)