Created
October 6, 2019 17:17
-
-
Save talosdev/d59a9051eadce8566522eea689b2b494 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
@Test | |
fun `empty observable to single with firstOrError`() { | |
val observable = Observable.empty<Int>() | |
assertObservableToSingle(observable, { firstOrError() } ) { | |
assertError(NoSuchElementException::class.java) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment