mdedetrich commented on code in PR #150:
URL: 
https://github.com/apache/incubator-pekko-http/pull/150#discussion_r1206651755


##########
docs/src/test/scala/docs/http/scaladsl/server/directives/JsonStreamingExamplesSpec.scala:
##########
@@ -218,7 +222,7 @@ class JsonStreamingExamplesSpec extends RoutingSpec with 
CompileOnlySpec {
               .runFold(0) { (cnt, _) => cnt + 1 }
 
           complete {
-            measurementsSubmitted.map(n => Map("msg" -> s"""Total metrics 
received: $n"""))
+            measurementsSubmitted.map(n => s"""Total metrics received: $n""")

Review Comment:
   I wouldn't be surprised if this was since solved in later Scala versions, 
there is some merit in spending a low amount of time to figure out if its 
solved but I will look into this when a future PR updating pekko to Scala 3.3 
LTS is out.
   
   Thanks for spending time looking into it!



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