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

@ -2,7 +2,7 @@
namespace Ocelot.UnitTests.Responder
{
class AnyError : Error
internal class AnyError : Error
{
public AnyError() : base("blahh", OcelotErrorCode.UnknownError)
{
@ -12,4 +12,4 @@ namespace Ocelot.UnitTests.Responder
{
}
}
}
}

View File

@ -1,14 +1,13 @@
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Ocelot.Headers;
using Ocelot.Middleware;
using Ocelot.Middleware.Multiplexer;
using Ocelot.Responder;
using Shouldly;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using Xunit;
namespace Ocelot.UnitTests.Responder
@ -83,7 +82,6 @@ namespace Ocelot.UnitTests.Responder
header.First().ShouldBe("test");
}
[Fact]
public void should_add_reason_phrase()
{

View File

@ -1,18 +1,16 @@
using System.Collections.Generic;
using Ocelot.Middleware;
using Ocelot.Middleware.Multiplexer;
using Ocelot.Middleware;
namespace Ocelot.UnitTests.Responder
{
using Microsoft.AspNetCore.Http;
using System.Net.Http;
using System.Threading.Tasks;
using Moq;
using Ocelot.DownstreamRouteFinder.Finder;
using Ocelot.Errors;
using Ocelot.Logging;
using Ocelot.Responder;
using Ocelot.Responder.Middleware;
using System.Net.Http;
using System.Threading.Tasks;
using TestStack.BDDfy;
using Xunit;
@ -75,6 +73,6 @@ namespace Ocelot.UnitTests.Responder
private void GivenThereArePipelineErrors(Error error)
{
_downstreamContext.Errors.Add(error);
}
}
}
}
}