Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tests] Fix CRLF issues in SM.Syndication
Fixes: dotnet#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`.
- Loading branch information