Skip to content

Commit

Permalink
Merge pull request #265 from 0xced/fix-ComplexTypeWithAttributeGroupE…
Browse files Browse the repository at this point in the history
…xtension-test

Fix the `ComplexTypeWithAttributeGroupExtension` test on Linux and macOS
  • Loading branch information
mganss authored May 26, 2021
2 parents 4a420ac + a479ac6 commit 7b1b12f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XmlSchemaClassGenerator.Tests/XmlTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1406,7 +1406,7 @@ public void BoolTest()

private static void CompareOutput(string expected, string actual)
{
static string Normalize(string input) => Regex.Replace(input, @"[ \t]*\r\n", "\n");
static string Normalize(string input) => Regex.Replace(input, @"[ \t]*\r?\n", "\n");
Assert.Equal(Normalize(expected), Normalize(actual));
}

Expand Down

0 comments on commit 7b1b12f

Please sign in to comment.