Ignore line-ending differences in test (#12921)
This commit is contained in:
parent
08349aba69
commit
7e59a26846
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue