Skip to content

Commit

Permalink
Fix whitespace formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
tisilent committed Apr 1, 2024
1 parent e93e665 commit 2b8c323
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions libs/server/Storage/Session/ObjectStore/SetOps.cs
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ public GarnetStatus SetDiff(ArgSlice[] keys, out HashSet<byte[]> members)
/// <param name="keys"></param>
/// <param name="count"></param>
/// <returns></returns>
public GarnetStatus SetDiffStore(byte[] key, ArgSlice[] keys,out int count)
public GarnetStatus SetDiffStore(byte[] key, ArgSlice[] keys, out int count)
{
count = default;

Expand Down Expand Up @@ -526,7 +526,7 @@ public GarnetStatus SetDiffStore(byte[] key, ArgSlice[] keys,out int count)
if (createTransaction)
txnManager.Commit(true);
}

return GarnetStatus.OK;
}

Expand Down
2 changes: 1 addition & 1 deletion test/Garnet.test/RespSetTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ public void CanDoSdiffLC()
lightClientRequest.SendCommand("SADD key3 a c e");
var response = lightClientRequest.SendCommand("SDIFF key1 key2 key3");
var expectedResponse = "*2\r\n$1\r\nb\r\n$1\r\nd\r\n";
Assert.AreEqual(expectedResponse, response.AsSpan().Slice(0,expectedResponse.Length).ToArray());
Assert.AreEqual(expectedResponse, response.AsSpan().Slice(0, expectedResponse.Length).ToArray());
}

[Test]
Expand Down

0 comments on commit 2b8c323

Please sign in to comment.