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
@@ -255,7 +255,7 @@ namespace Newtonsoft.Json.Tests.Converters
ExceptionAssert.Throws<ArgumentNullException>(
() => new StringEnumConverter(null),
@"Value cannot be null.
Parameter name: namingStrategyType");
Parameter name: namingStrategyType", "Value cannot be null. (Parameter 'namingStrategyType')");
}
[Test]
@@ -264,7 +264,7 @@ Parameter name: namingStrategyType");
ExceptionAssert.Throws<ArgumentNullException>(
() => new StringEnumConverter(null, new object[] { true, true, true }, false),
@"Value cannot be null.
Parameter name: namingStrategyType");
Parameter name: namingStrategyType", "Value cannot be null. (Parameter 'namingStrategyType')");
}
[Test]