Fix tests on environments with different line endings (#1831)

This commit is contained in:
James Newton-King
2018-09-17 03:01:58 -07:00
committed by GitHub
parent d7150871cb
commit 71564ceb16
40 changed files with 54 additions and 55 deletions
@@ -79,7 +79,7 @@ namespace Newtonsoft.Json.Tests.Documentation.Samples.Xml
// </Root>
#endregion
Assert.AreEqual(@"<Root Id=""1"">
StringAssert.AreEqual(@"<Root Id=""1"">
<Email>james@example.com</Email>
<Active>true</Active>
<CreatedDate>2013-01-20T00:00:00Z</CreatedDate>