Skip to content

Commit

Permalink
IsTrue -> AreEqual
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamco committed May 15, 2024
1 parent ee17a47 commit b8630f3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/Garnet.test/RespListGarnetClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void AddElementsToTheListHead_WithCallback()
// Act & Assert
db.ListLeftPush("list1", "foo", (_, returnValue, _) =>
{
Assert.IsTrue(1 == returnValue);
Assert.AreEqual(1, returnValue);
e.Set();
});

Expand All @@ -42,7 +42,7 @@ public void AddElementsToTheListHead_WithCallback()

db.ListLeftPush("list1", ["bar", "baz"], (_, returnValue, _) =>
{
Assert.IsTrue(3 == returnValue);
Assert.AreEqual(3, returnValue);
e.Set();
});

Expand All @@ -51,7 +51,7 @@ public void AddElementsToTheListHead_WithCallback()

db.ListLeftPush("list2", ["foo", "baz"], (_, returnValue, _) =>
{
Assert.IsTrue(2 == returnValue);
Assert.AreEqual(2, returnValue);
e.Set();
});

Expand Down Expand Up @@ -87,7 +87,7 @@ public void AddElementsToListTail_WithCallback()
// Act & Assert
db.ListRightPush("list6", "foo", (_, returnValue, _) =>
{
Assert.IsTrue(1 == returnValue);
Assert.AreEqual(1, returnValue);
e.Set();
});

Expand All @@ -96,7 +96,7 @@ public void AddElementsToListTail_WithCallback()

db.ListRightPush("list6", ["bar", "baz"], (_, returnValue, _) =>
{
Assert.IsTrue(3 == returnValue);
Assert.AreEqual(3, returnValue);
e.Set();
});

Expand All @@ -105,7 +105,7 @@ public void AddElementsToListTail_WithCallback()

db.ListRightPush("list7", ["foo", "baz"], (_, returnValue, _) =>
{
Assert.IsTrue(2 == returnValue);
Assert.AreEqual(2, returnValue);
e.Set();
});

Expand Down

0 comments on commit b8630f3

Please sign in to comment.