1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-09 09:34:49 +09:00

Enable fixed disabled System.Text.Json tests (#104771)

* Enable fixed disabled tests

* Fix SerializeSortedDictionary
This commit is contained in:
ThomasGoulet73 2024-07-13 01:05:56 -04:00 committed by GitHub
parent 369db9a68e
commit bcd705a2c9
Signed by: github
GPG key ID: B5690EEEBB952194

View file

@ -329,7 +329,6 @@ namespace System.Text.Json.Tests
#endregion
#region Dictionary
[ActiveIssue("https://github.com/dotnet/runtime/issues/30524")]
[Fact]
public void SerializeDictionary()
{
@ -348,7 +347,6 @@ namespace System.Text.Json.Tests
Assert.Equal("3", (string)a[3]);
}
[ActiveIssue("https://github.com/dotnet/runtime/issues/30524")]
[Fact]
public void DeserializeDictionary()
{
@ -366,7 +364,6 @@ namespace System.Text.Json.Tests
Assert.Equal("3", data[3]);
}
[ActiveIssue("https://github.com/dotnet/runtime/issues/30524")]
[Fact]
public void DeserializeDictionaryInterface()
{
@ -386,7 +383,6 @@ namespace System.Text.Json.Tests
#endregion
#region SortedDictionary
[ActiveIssue("https://github.com/dotnet/runtime/issues/30524")]
[Fact]
public void SerializeSortedDictionary()
{
@ -398,14 +394,13 @@ namespace System.Text.Json.Tests
});
string json = JsonSerializer.Serialize(data, s_indentedOption);
Assert.Equal(@"{
JsonTestHelper.AssertJsonEqual(@"{
""1"": ""One"",
""2"": ""II"",
""3"": ""3""
}", json);
}
[ActiveIssue("https://github.com/dotnet/runtime/issues/30524")]
[Fact]
public void DeserializeSortedDictionary()
{