Skip to content

Commit

Permalink
Fix build warning releated to #nullable (#721)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vijay-Nirmal authored Oct 13, 2024
1 parent 7e29c3a commit 274d36e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Garnet.test/RespHashTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ public void CanDoHashScan()

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

0 comments on commit 274d36e

Please sign in to comment.