Skip to content

Commit f9d69ff

Browse files
committed
Use target-typed new expressions
1 parent fad963c commit f9d69ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Ocelot.AcceptanceTests/AuthenticationTests.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -270,12 +270,12 @@ public void should_return_www_authenticate_header_on_401()
270270
{
271271
Routes = new List<FileRoute>
272272
{
273-
new FileRoute
273+
new()
274274
{
275275
DownstreamPathTemplate = _downstreamServicePath,
276276
DownstreamHostAndPorts = new List<FileHostAndPort>
277277
{
278-
new FileHostAndPort
278+
new()
279279
{
280280
Host =_downstreamServiceHost,
281281
Port = port,

0 commit comments

Comments
 (0)