New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eliminated two possible false positives from BlockingObservableTest #178
Conversation
Could you clarify why you need to change them, such as provide an example of |
Hi Shixiong Zhu, —Reply to this email directly or view it on GitHub. |
val future = o.toBlocking.toFuture //if this were to throw the original test would wrongly succeed | ||
Await.result(future.failed, 10 seconds) match { | ||
case t:IllegalArgumentException => //this is what we expect | ||
case _ => fail("expected the future to fail with a NoSuchElementException") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: NoSuchElementException -> IllegalArgumentException
@illusioni Thanks for your clarification. I will merge this PR once you fix the typo. |
I tried hard, @zsxwing, but I can't find a typo in my changes. |
Aaah. Is this what you meant? |
eliminated two possible false positives from BlockingObservableTest
@illusioni Exactly. Thanks! Merged. |
No description provided.