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


##########
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:
   Right, so if I understand correctly there probably was some issue with 
construction of `Map` between Scala 2 and Scala 3 and the solution was "screw 
it, lets just not use a `Map` because its not important and its just in tests 
anyways."



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