提交 88c6a8f8 编写于 作者: M Matt Cohn

Update XML tests to register a code page provider

Required for the tests to pass on .NET Core.


Commit migrated from https://github.com/dotnet/corefx/commit/b48137e5b74d26310c97cae03e17c84cb4f25c7a
上级 1e64c628
......@@ -17,8 +17,7 @@ public static partial class MiscWithEncodingTests
{
public static void TestInitialize()
{
//This will work on Desktop although we need System.Text.Encoding.CodePages to make this work on CoreCLR
//Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
}
/// <summary>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册