-Tests
This commit is contained in:
@@ -635,7 +635,7 @@ Parameter name: arrayIndex");
|
||||
moss["Department"] = new JValue("IT");
|
||||
moss["JobTitle"] = new JValue("Support");
|
||||
|
||||
Assert.AreEqual(@"{
|
||||
StringAssert.AreEqual(@"{
|
||||
""FirstName"": ""Maurice"",
|
||||
""LastName"": ""Moss"",
|
||||
""BirthDate"": ""1977-12-30T00:00:00"",
|
||||
@@ -650,7 +650,7 @@ Parameter name: arrayIndex");
|
||||
jen["Department"] = "IT";
|
||||
jen["JobTitle"] = "Manager";
|
||||
|
||||
Assert.AreEqual(@"{
|
||||
StringAssert.AreEqual(@"{
|
||||
""FirstName"": ""Jen"",
|
||||
""LastName"": ""Barber"",
|
||||
""BirthDate"": ""1978-03-15T00:00:00"",
|
||||
|
||||
@@ -1109,7 +1109,7 @@ namespace Newtonsoft.Json.Tests.Linq
|
||||
|
||||
JArray a2 = (JArray)a.DeepClone();
|
||||
|
||||
Assert.AreEqual(@"[
|
||||
StringAssert.AreEqual(@"[
|
||||
5,
|
||||
[
|
||||
1
|
||||
|
||||
@@ -260,7 +260,7 @@ undefined
|
||||
|
||||
foreach (JObject friend in items)
|
||||
{
|
||||
Assert.AreEqual(@"{
|
||||
StringAssert.AreEqual(@"{
|
||||
""name"": ""value!""
|
||||
}", friend.ToString());
|
||||
}
|
||||
@@ -715,7 +715,7 @@ keyword such as type of business.""
|
||||
from c in p.Categories
|
||||
select new JValue(c)))))))));
|
||||
|
||||
Assert.AreEqual(@"{
|
||||
StringAssert.AreEqual(@"{
|
||||
""channel"": {
|
||||
""title"": ""James Newton-King"",
|
||||
""link"": ""http://james.newtonking.com"",
|
||||
@@ -987,7 +987,7 @@ keyword such as type of business.""
|
||||
}
|
||||
});
|
||||
|
||||
Assert.AreEqual(@"{
|
||||
StringAssert.AreEqual(@"{
|
||||
""channel"": {
|
||||
""title"": ""James Newton-King"",
|
||||
""link"": ""http://james.newtonking.com"",
|
||||
|
||||
Reference in New Issue
Block a user