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

@ -1,6 +1,6 @@
using System.Threading.Tasks;
using Ocelot.Infrastructure;
using Shouldly;
using System.Threading.Tasks;
using Xunit;
namespace Ocelot.UnitTests.Infrastructure
@ -18,7 +18,8 @@ namespace Ocelot.UnitTests.Infrastructure
public async Task should_publish_with_delay()
{
var called = false;
_bus.Subscribe(x => {
_bus.Subscribe(x =>
{
called = true;
});
_bus.Publish(new object(), 1);
@ -30,7 +31,8 @@ namespace Ocelot.UnitTests.Infrastructure
public void should_not_be_publish_yet_as_no_delay_in_caller()
{
var called = false;
_bus.Subscribe(x => {
_bus.Subscribe(x =>
{
called = true;
});
_bus.Publish(new object(), 1);