#3272: Eliminate redundant 'should' in DataflowSpec test
This commit is contained in:
parent
b62f5f46f5
commit
6d815216a6
1 changed files with 1 additions and 1 deletions
|
|
@ -290,7 +290,7 @@ class DataflowSpec extends AkkaSpec with DefaultTimeout {
|
||||||
assert(Await.result(z.future, timeout.duration) === 42)
|
assert(Await.result(z.future, timeout.duration) === 42)
|
||||||
}
|
}
|
||||||
|
|
||||||
"should capture first exception with dataflow" in {
|
"capture first exception with dataflow" in {
|
||||||
val f1 = flow { 40 / 0 }
|
val f1 = flow { 40 / 0 }
|
||||||
intercept[java.lang.ArithmeticException](Await result (f1, TestLatch.DefaultTimeout))
|
intercept[java.lang.ArithmeticException](Await result (f1, TestLatch.DefaultTimeout))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue