Fix unit-tests on non-windows build machines.

This commit is contained in:
Stef Heyenrath
2018-09-11 14:37:29 +02:00
parent 6f9aaeda1a
commit 84f3cc029f
2 changed files with 3 additions and 3 deletions

View File

@@ -100,7 +100,7 @@ namespace WireMock.Net.Tests
var response = await new HttpClient().GetStringAsync("http://localhost:" + _server.Ports[0]);
// Assert
Check.That(response).IsEqualTo("{\r\n \"message\": \"Hello\"\r\n}");
Check.That(response).IsEqualTo($"{{{Environment.NewLine} \"message\": \"Hello\"{Environment.NewLine}}}");
}
[Fact]