Skip to content

Commit

Permalink
Added minor comment to IT test.
Browse files Browse the repository at this point in the history
  • Loading branch information
SanHalacogluImproving committed Apr 2, 2024
1 parent 7164805 commit 329aff5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions java/integTest/src/test/java/glide/SharedCommandTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ public void hlen(BaseClient client) {
assertEquals(1, client.hlen(key1).get());
assertEquals(0, client.hlen("nonExistingHash").get());

// Key exists, but it is not a hash
assertEquals(OK, client.set(key2, "value").get());
ExecutionException executionException =
assertThrows(ExecutionException.class, () -> client.hlen(key2).get());
Expand Down

0 comments on commit 329aff5

Please sign in to comment.