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 authored and acarbonetto committed Apr 4, 2024
1 parent 65b7629 commit 04b8be1
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 @@ -508,6 +508,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 04b8be1

Please sign in to comment.