mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-24 04:12:50 +08:00

* hacked together load balancing reroutes in fileconfig * some renaming and refactoring * more renames * hacked away the old config json * test for issue 213 * renamed key * dont share ports * oops * updated docs * mvoed docs around * port being used
18 lines
407 B
C#
18 lines
407 B
C#
using Ocelot.Errors;
|
|
using Ocelot.Infrastructure.RequestData;
|
|
using Shouldly;
|
|
using Xunit;
|
|
|
|
namespace Ocelot.UnitTests.Errors
|
|
{
|
|
public class ErrorTests
|
|
{
|
|
[Fact]
|
|
public void should_return_message()
|
|
{
|
|
var error = new CannotAddDataError("message");
|
|
var result = error.ToString();
|
|
result.ShouldBe("message");
|
|
}
|
|
}
|
|
} |