Run unit tests on .NET Core 3.0 and fix Enumerable.Empty (#2137)
This commit is contained in:
@@ -373,7 +373,7 @@ namespace Newtonsoft.Json.Tests
|
||||
{
|
||||
action();
|
||||
|
||||
Assert.Fail("Exception of type {0} expected. No exception thrown.", typeof(TException).Name);
|
||||
Assert.Fail("Exception of type " + typeof(TException).Name + " expected. No exception thrown.");
|
||||
return null;
|
||||
}
|
||||
catch (TException ex)
|
||||
@@ -406,7 +406,7 @@ namespace Newtonsoft.Json.Tests
|
||||
{
|
||||
await action();
|
||||
|
||||
Assert.Fail("Exception of type {0} expected. No exception thrown.", typeof(TException).Name);
|
||||
Assert.Fail("Exception of type " + typeof(TException).Name + " expected. No exception thrown.");
|
||||
return null;
|
||||
}
|
||||
catch (TException ex)
|
||||
|
||||
Reference in New Issue
Block a user