+str #18906 add Sink.headOption
This commit is contained in:
parent
985e3b1c2f
commit
8650d0c473
8 changed files with 92 additions and 33 deletions
|
|
@ -20,8 +20,8 @@ class StreamingResponseSpecs extends RoutingSpec {
|
|||
val route = complete(response)
|
||||
|
||||
Get() ~> route ~> check {
|
||||
status should ===(OK)
|
||||
responseAs[String] shouldEqual ""
|
||||
status should ===(StatusCodes.OK)
|
||||
responseAs[String] should === ("")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue