Roiocam commented on code in PR #985:
URL: https://github.com/apache/incubator-pekko/pull/985#discussion_r1459376858


##########
stream-tests/src/test/scala/org/apache/pekko/stream/scaladsl/FlowCollectWhileSpec.scala:
##########
@@ -61,7 +61,7 @@ class FlowCollectWhileSpec extends StreamSpec with 
ScriptedTest {
 
     "restart when pf throws" in {
       Source(1 to 6)
-        .collect { case x: Int => if (x % 2 == 0) throw TE("") else x }
+        .collectWhile { case x: Int => if (x % 2 == 0) throw TE("") else x }

Review Comment:
   can you add some message into exception generate like other Spec does?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to