Ignore line-ending differences in test (#12921)

This commit is contained in:
Pranav K 2019-08-06 15:01:26 -07:00 committed by GitHub
parent 08349aba69
commit 7e59a26846
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering
// Assert
var htmlString = Assert.IsType<HtmlString>(result);
Assert.Equal(expectedOutput, htmlString.ToString());
Assert.Equal(expectedOutput, htmlString.ToString(), ignoreLineEndingDifferences: true);
}
}
}