Files
dotnet-runtime/src/libraries/System.ServiceModel.Syndication/tests
Radek Doulik 8013221e2a [tests] Fix CRLF issues in SM.Syndication (#52705)
Fixes: https://github.com/dotnet/runtime/issues/52135

When running `System.ServiceModel.Syndication` tests on windows and
targeting `Browser`, the line ending differs between host and target
systems. Use helper `LineEndingsHelper.Normalize` method to update
expected strings.

The `Browser` Environment.NewLine is `\n`, while windows use `\r\n`.
https://github.com/dotnet/runtime/blob/5bd0edfe860e41bdfd690d3743e730594307292e/src/libraries/System.Private.CoreLib/src/System/Environment.UnixOrBrowser.cs#L51

Also set `BrowserHost` property for the build as well. It is also used
in `src/libraries/tests.proj`.
2021-05-13 21:24:51 +02:00
..