Removed unused usings, removed empty spaces, removed tons os warnings (#903)

This commit is contained in:
Thiago Loureiro
2019-05-28 11:00:54 +08:00
committed by GitHub
parent 4476f8273e
commit 5d82e68534
486 changed files with 3049 additions and 3143 deletions

View File

@ -3,7 +3,6 @@ using System.Threading.Tasks;
namespace Ocelot.UnitTests.Middleware
{
using System.Collections.Generic;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Hosting.Internal;
using Microsoft.AspNetCore.Http;
@ -14,6 +13,7 @@ namespace Ocelot.UnitTests.Middleware
using Ocelot.Middleware;
using Ocelot.Middleware.Pipeline;
using Shouldly;
using System.Collections.Generic;
using TestStack.BDDfy;
using Xunit;
@ -79,8 +79,6 @@ namespace Ocelot.UnitTests.Middleware
del.Invoke(_downstreamContext);
}
private void ThenTheFuncIsInThePipeline()
{
_counter.ShouldBe(1);
@ -103,7 +101,7 @@ namespace Ocelot.UnitTests.Middleware
private readonly OcelotRequestDelegate _next;
public MultiParametersInvokeMiddleware(OcelotRequestDelegate next)
:base(new FakeLogger())
: base(new FakeLogger())
{
_next = next;
}
@ -115,7 +113,7 @@ namespace Ocelot.UnitTests.Middleware
}
}
class FakeLogger : IOcelotLogger
internal class FakeLogger : IOcelotLogger
{
public void LogCritical(string message, Exception exception)
{