Update unit tests for .NET Core.

This commit is contained in:
2021-04-29 15:24:03 +01:00
parent edfa3efaa3
commit 99767331e0
2 changed files with 2 additions and 1 deletions

View File

@@ -14,6 +14,7 @@
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.4" />
<PackageReference Include="NUnit" Version="3.13.2" /> <PackageReference Include="NUnit" Version="3.13.2" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@@ -58,7 +58,7 @@ namespace Claunia.Encoding.Tests
// Well basically this is taken from MSDN's documentation :p // Well basically this is taken from MSDN's documentation :p
public void GetExternalEncoding() public void GetExternalEncoding()
{ {
System.Text.Encoding e = Encoding.GetEncoding("shift_jis"); System.Text.Encoding e = Encoding.GetEncoding("iso8859-1");
} }
[Test] [Test]