This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko.git

commit 747131b9b0e06f40e0ad40fd43f6837a56785da5
Author: scala-steward-asf[bot] 
<147768647+scala-steward-asf[bot]@users.noreply.github.com>
AuthorDate: Thu Dec 4 14:08:09 2025 +0000

    Reformat with scalafmt 3.10.2
    
    Executed command: scalafmt --non-interactive
---
 .../scala/org/apache/pekko/actor/SchedulerSpec.scala   | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git 
a/actor-tests/src/test/scala/org/apache/pekko/actor/SchedulerSpec.scala 
b/actor-tests/src/test/scala/org/apache/pekko/actor/SchedulerSpec.scala
index 9d6cc95a15..14602cdd54 100644
--- a/actor-tests/src/test/scala/org/apache/pekko/actor/SchedulerSpec.scala
+++ b/actor-tests/src/test/scala/org/apache/pekko/actor/SchedulerSpec.scala
@@ -202,10 +202,11 @@ trait SchedulerSpec extends BeforeAndAfterEach with 
DefaultTimeout with Implicit
         }
         val latencies = within(10.seconds) {
           for (i <- 1 to N)
-            yield try expectMsgType[Long]
-            catch {
-              case NonFatal(e) => throw new Exception(s"failed expecting the 
$i-th latency", e)
-            }
+            yield
+              try expectMsgType[Long]
+              catch {
+                case NonFatal(e) => throw new Exception(s"failed expecting the 
$i-th latency", e)
+              }
         }
         val histogram = latencies.groupBy(_ / 100000000L)
         for (k <- histogram.keys.toSeq.sorted) {
@@ -507,10 +508,11 @@ class LightArrayRevolverSchedulerSpec extends 
PekkoSpec(SchedulerSpec.testConfRe
         println(cancelled)
         val latencies = within(10.seconds) {
           for (i <- 1 to (N - cancelled))
-            yield try expectMsgType[Long]
-            catch {
-              case NonFatal(e) => throw new Exception(s"failed expecting the 
$i-th latency", e)
-            }
+            yield
+              try expectMsgType[Long]
+              catch {
+                case NonFatal(e) => throw new Exception(s"failed expecting the 
$i-th latency", e)
+              }
         }
         val histogram = latencies.groupBy(_ / 100000000L)
         for (k <- histogram.keys.toSeq.sorted) {


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

Reply via email to