-Fixed tests
-Fixed exception message line breaks to use Environment.NewLine
This commit is contained in:
@@ -1186,7 +1186,7 @@ keyword such as type of business.""
|
||||
|
||||
var json = SerializeWithNoRedundentIdProperties(dic1);
|
||||
|
||||
Assert.AreEqual(@"{
|
||||
StringAssert.AreEqual(@"{
|
||||
""$id"": ""1"",
|
||||
""list1"": [
|
||||
""A string!"",
|
||||
|
||||
@@ -69,7 +69,7 @@ namespace Newtonsoft.Json.Tests.Serialization
|
||||
|
||||
string myOtherArrayAsString = JsonConvert.SerializeObject(myOtherArray, Formatting.Indented);
|
||||
|
||||
Assert.AreEqual(@"[
|
||||
StringAssert.AreEqual(@"[
|
||||
[
|
||||
{
|
||||
""Key"": ""my value"",
|
||||
|
||||
Reference in New Issue
Block a user