Add HAVE_ICONVERTIBLE to NETSTANDARD1_3
Also added unit test.
This commit is contained in:
@@ -254,6 +254,12 @@ namespace Newtonsoft.Json.Tests.Linq
|
||||
Assert.AreEqual(JTokenType.Integer, v.Type);
|
||||
Assert.AreEqual(BigInteger.Parse("123456789999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999990"), v.Value);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void JValueIConvertable()
|
||||
{
|
||||
Assert.IsInstanceOf(typeof(IConvertible), new JValue(0));
|
||||
}
|
||||
#endif
|
||||
|
||||
[Test]
|
||||
|
||||
Reference in New Issue
Block a user