Skip to content

Commit

Permalink
fix linux tests
Browse files Browse the repository at this point in the history
  • Loading branch information
patrofimov committed Sep 4, 2024
1 parent 13a4c1a commit b4c5a3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Vostok.ClusterClient.Core.Tests/Model/Request_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ public void ToString_should_print_headers()
{
request = request.WithHeader("name1", "value1").WithHeader("name2", "value2");

request.ToString(false, true).Should().Be("POST http://foo/bar\r\nname1=value1\r\nname2=value2");
request.ToString(false, true).Should().Be($"POST http://foo/bar{Environment.NewLine}name1=value1{Environment.NewLine}name2=value2");
}

[Test]
Expand Down
2 changes: 1 addition & 1 deletion Vostok.ClusterClient.Core.Tests/Model/Response_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public void ToString_should_print_headers()
{
var response = new Response(ResponseCode.Ok, headers: Headers.Empty.Set("name1", "value1").Set("name2", "value2"));

response.ToString(true).Should().Be("200 Ok\r\nname1=value1\r\nname2=value2");
response.ToString(true).Should().Be($"200 Ok{Environment.NewLine}name1=value1{Environment.NewLine}name2=value2");
}

[Test]
Expand Down

0 comments on commit b4c5a3b

Please sign in to comment.