diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-01-28 04:23:38 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-01-28 04:25:55 +0300 |
commit | d61e7aca9a4c858c30d6512a7dc8a86f307683a7 (patch) | |
tree | 0d3fab9c006247feda1b6e1633b895bc0f6e43a1 /mcs/class/Microsoft.Build | |
parent | 9bee02a3ff15045afbbd8a2f9d96830acb82d7e4 (diff) |
[bcl] Update tests that failed when .cs file contained CRLF
Most of them used multiline C# string literals which
means they contained the line ending character of the file.
Updated to make the tests resilient to having CRLF instead of LF.
Some of the mcs tests used a checksum to compare files,
ensured those are checked out using LF.
Diffstat (limited to 'mcs/class/Microsoft.Build')
-rw-r--r-- | mcs/class/Microsoft.Build/Test/Microsoft.Build.Evaluation/ProjectItemTest.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mcs/class/Microsoft.Build/Test/Microsoft.Build.Evaluation/ProjectItemTest.cs b/mcs/class/Microsoft.Build/Test/Microsoft.Build.Evaluation/ProjectItemTest.cs index f3b3524ba81..e765fedefa4 100644 --- a/mcs/class/Microsoft.Build/Test/Microsoft.Build.Evaluation/ProjectItemTest.cs +++ b/mcs/class/Microsoft.Build/Test/Microsoft.Build.Evaluation/ProjectItemTest.cs @@ -184,10 +184,7 @@ namespace MonoTests.Microsoft.Build.Evaluation [Test] public void ExpandPropertyThenTrim () { - string test = @"A -B -C - "; + string test = "A\nB\nC\n "; string project_xml = string.Format (@"<Project xmlns='http://schemas.microsoft.com/developer/msbuild/2003'> <PropertyGroup> <Test>{0}</Test> |