-Test
This commit is contained in:
@@ -73,6 +73,15 @@ namespace Newtonsoft.Json.Tests.Linq
|
|||||||
Assert.AreEqual(token1.Type, token2.Type);
|
Assert.AreEqual(token1.Type, token2.Type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void FromObjectUri()
|
||||||
|
{
|
||||||
|
var token1 = new JValue(new Uri("http://www.newtonsoft.com"));
|
||||||
|
var token2 = JToken.FromObject(token1);
|
||||||
|
Assert.IsTrue(JToken.DeepEquals(token1, token2));
|
||||||
|
Assert.AreEqual(token1.Type, token2.Type);
|
||||||
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
public void ToObject_Guid()
|
public void ToObject_Guid()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user