Changed tests to explicitly assert for strings with \r\n

As opposed to leaving it up to the IDE to decide at compile time by having newlines in the actual document
This commit is contained in:
Redth
2014-09-09 09:35:01 -04:00
parent fc9c3ad720
commit aa6c474999
4 changed files with 7 additions and 74 deletions
@@ -261,8 +261,7 @@ namespace Newtonsoft.Json.Tests
jsonWriter.WriteStartArray();
jsonWriter.WriteValue(@"""These pretzels are making me thirsty!""");
jsonWriter.WriteValue("Jeff's house was burninated.");
jsonWriter.WriteValue(@"1. You don't talk about fight club.
2. You don't talk about fight club.");
jsonWriter.WriteValue("1. You don't talk about fight club.\r\n2. You don't talk about fight club.");
jsonWriter.WriteValue("35% of\t statistics\n are made\r up.");
jsonWriter.WriteEndArray();
}