This commit is contained in:
James Newton-King
2017-07-16 10:29:34 +12:00
parent 5229208ce5
commit c33b257f18
@@ -256,11 +256,11 @@ namespace Newtonsoft.Json.Tests.Linq
}
#endif
#if !(NETSTANDARD1_0 || PORTABLE)
#if !(PORTABLE) || NETSTANDARD1_3
[Test]
public void JValueIConvertable()
{
Assert.IsInstanceOf(typeof(IConvertible), new JValue(0));
Assert.IsTrue(new JValue(0) is IConvertible);
}
#endif
@@ -503,7 +503,7 @@ namespace Newtonsoft.Json.Tests.Linq
}
#endif
#if !(PORTABLE)
#if !(PORTABLE) || NETSTANDARD1_3
[Test]
public void ConvertsToBoolean()
{
@@ -744,8 +744,6 @@ namespace Newtonsoft.Json.Tests.Linq
new JValue(new Uri("http://james.newtonking.com/install?v=7.0.1"))
);
Console.WriteLine(a.ToString());
StringAssert.AreEqual(@"[
""http://james.newtonking.com"",
""http://james.newtonking.com/install?v=7.0.1""