From e83f5a9d59ad7b0f9a9943b3bfb5e4a36edf2d9b Mon Sep 17 00:00:00 2001 From: abcdefg30 Date: Sun, 20 May 2018 20:19:00 +0200 Subject: [PATCH] Replace "\r\n" by "\n" in unit tests --- OpenRA.Test/OpenRA.Game/MiniYamlTest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRA.Test/OpenRA.Game/MiniYamlTest.cs b/OpenRA.Test/OpenRA.Game/MiniYamlTest.cs index c0dce5335a..8cb31a311f 100644 --- a/OpenRA.Test/OpenRA.Game/MiniYamlTest.cs +++ b/OpenRA.Test/OpenRA.Game/MiniYamlTest.cs @@ -250,7 +250,7 @@ Parent: # comment without value # Indented comment node First: value containing a \# character Second: value # node with inline comment -"; +".Replace("\r\n", "\n"); var result = MiniYaml.FromString(yaml, discardCommentsAndWhitespace: false).WriteToString(); Assert.AreEqual(yaml, result); @@ -269,7 +269,7 @@ Parent: # comment without value var strippedYaml = @"Parent: First: value containing a \# character - Second: value"; + Second: value".Replace("\r\n", "\n"); var result = MiniYaml.FromString(yaml).WriteToString(); Assert.AreEqual(strippedYaml, result);