using var

This commit is contained in:
Stef Heyenrath
2020-11-28 15:21:18 +01:00
parent e222a0a9c3
commit a3629a4147
2 changed files with 94 additions and 90 deletions

View File

@@ -27,7 +27,7 @@ namespace WireMock.Net.Tests
}));
// Act
using var httpClient = new HttpClient();
var httpClient = new HttpClient();
var response = await httpClient.PostAsync("http://localhost:" + server.Ports[0] + "/foo", new StringContent("dummy"));
// Assert