He-Pin commented on code in PR #985:
URL: https://github.com/apache/incubator-pekko/pull/985#discussion_r1459386869


##########
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:
   ok, I will update later, currently i will run the bench :)



-- 
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