This commit is contained in:
James Newton-King
2015-02-17 19:16:25 +13:00
parent f132b87eaa
commit f146cf7f29
4 changed files with 5 additions and 5 deletions
@@ -73,7 +73,7 @@ namespace Newtonsoft.Json.Tests.Documentation.Samples.Serializer
// }
#endregion
Assert.AreEqual(@"{
StringAssert.AreEqual(@"{
""FirstName"": ""John"",
""LastName"": ""Smith"",
""Enabled"": true,
@@ -81,7 +81,7 @@ namespace Newtonsoft.Json.Tests.Documentation.Samples.Serializer
""User"",
""Admin""
]
}", json.ToString());
}", json);
}
}
}
@@ -87,7 +87,7 @@ namespace Newtonsoft.Json.Tests.Documentation.Samples.Linq
// Elbow Grease
#endregion
Assert.AreEqual(@"{
StringAssert.AreEqual(@"{
""Name"": ""Acme Co"",
""Products"": [
{
@@ -71,7 +71,7 @@ namespace Newtonsoft.Json.Tests.Documentation.Samples.Serializer
// }
#endregion
Assert.AreEqual(@"{
StringAssert.AreEqual(@"{
""firstName"": ""Eric"",
""lastName"": ""Example"",
""birthDate"": ""1980-04-20T00:00:00Z"",
@@ -59,7 +59,7 @@ namespace Newtonsoft.Json.Tests.Documentation.Samples.Serializer
// ]
#endregion
Assert.AreEqual(@"[
StringAssert.AreEqual(@"[
""7 December, 2009"",
""1 January, 2010"",
""10 February, 2010""