Skip to content

Commit 274d36e

Browse files
authored
Fix build warning releated to #nullable (#721)
1 parent 7e29c3a commit 274d36e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Garnet.test/RespHashTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ public void CanDoHashScan()
420420

421421
RedisResult result = db.Execute("HSCAN", "user:user789", "0", "MATCH", "*", "COUNT", "2", "NOVALUES");
422422
ClassicAssert.IsTrue(result.Length == 2);
423-
var fieldsStr = ((RedisResult[]?)result[1]).Select(x => (string)x).ToArray();
423+
var fieldsStr = ((RedisResult[])result[1]).Select(x => (string)x).ToArray();
424424
ClassicAssert.IsTrue(fieldsStr.Length == 2, "HSCAN with MATCH failed.");
425425
CollectionAssert.AreEquivalent(new[] { "email", "email1" }, fieldsStr);
426426
}

0 commit comments

Comments
 (0)