Skip to content

Commit a1aa291

Browse files
TrevorThoelebaronfel
authored andcommitted
Create string in platform independent way.
1 parent 7f16f6a commit a1aa291

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/StartWithSetup.fs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ let setupEndpoints(_: LspClient): Map<string, System.Delegate> =
1313
[] |> Map.ofList
1414

1515
let requestWithContentLength(request: string) =
16-
@$"Content-Length: {request.Length}
17-
18-
{request}"
16+
$"Content-Length: {request.Length}\r\n\r\n{request}"
1917

2018
let shutdownRequest = @"{""jsonrpc"":""2.0"",""method"":""shutdown"",""id"":1}"
2119

0 commit comments

Comments
 (0)