Skip to content

Commit

Permalink
setting PropertyNameCaseInsensitive correctly for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
philipthomas-MSFT committed Aug 19, 2024
1 parent 121d459 commit 0339f16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ static void ValidateSystemTextJsonDeserialization(string json)
json: json,
options: new JsonSerializerOptions()
{
PropertyNameCaseInsensitive = true,
PropertyNameCaseInsensitive = false,
Converters = { new JsonStringEnumConverter(), }
}));
}
Expand Down Expand Up @@ -266,7 +266,7 @@ static void ValidateSystemTextJsonDeserialization(string json)
json: json,
options: new JsonSerializerOptions()
{
PropertyNameCaseInsensitive = true,
PropertyNameCaseInsensitive = false,
Converters = { new JsonStringEnumConverter(), }
}));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ static void ValidateSystemTextJsonDeserialization(string json)
json: json,
options: new JsonSerializerOptions()
{
PropertyNameCaseInsensitive = false,
PropertyNameCaseInsensitive = true,
Converters = { new JsonStringEnumConverter(), }
}));
}
Expand Down

0 comments on commit 0339f16

Please sign in to comment.