Run unit tests on .NET Core 3.0 and fix Enumerable.Empty (#2137)

This commit is contained in:
James Newton-King
2019-08-19 12:57:09 +12:00
committed by GitHub
parent 083aa6df83
commit 5eac02a797
22 changed files with 300 additions and 81 deletions
+2 -2
View File
@@ -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)