Last active
July 31, 2021 23:30
-
-
Save steliosfran/b02067869630ac2e945679ac9aa0aa31 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Nested | |
@DisplayName("When the first stream throws an error") | |
inner class FirstStreamError { | |
private val completable1 = Completable.error( | |
Throwable("error 1") | |
).subscribeOn(Schedulers.io()) | |
@Nested | |
@DisplayName("When the second stream throws an error simultaneously") | |
inner class SecondStreamError { | |
private val completable2 = Completable.error( | |
Throwable("error 2") | |
).subscribeOn(Schedulers.io()) | |
@Test | |
fun `then the merged stream does not crash`() { | |
// TODO | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment