Fixup warnings in test (#22665)

This commit is contained in:
Pranav K 2020-06-08 12:39:50 -07:00 committed by GitHub
parent ee80cd5ccd
commit 6188933c89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -11,12 +11,12 @@ namespace Microsoft.AspNetCore.Authentication.Core.Test
[Fact]
public void Clone_Copies()
{
var items = new Dictionary<string, string>
var items = new Dictionary<string, string?>
{
["foo"] = "bar",
};
var value = "value";
var parameters = new Dictionary<string, object>
var parameters = new Dictionary<string, object?>
{
["foo2"] = value,
};

View File

@ -9,12 +9,12 @@ namespace Microsoft.AspNetCore.Authentication.Core.Test
[Fact]
public void Clone_Copies()
{
var items = new Dictionary<string, string>
var items = new Dictionary<string, string?>
{
["foo"] = "bar",
};
var value = "value";
var parameters = new Dictionary<string, object>
var parameters = new Dictionary<string, object?>
{
["foo2"] = value,
};