Skip to content

Commit

Permalink
Update ControlCommandsTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
sazzad16 authored Nov 20, 2024
1 parent e2fd701 commit 24496f0
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;

import com.google.gson.annotations.Since;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.Test;
Expand Down Expand Up @@ -504,10 +503,10 @@ public void commandGetKeys() {


@Test
public void command() {
public void commandNoArgs() {
Map<String, CommandInfo> infos = jedis.command();

assertThat(infos.size(),greaterThan(0));
assertThat(infos.size(), greaterThan(0));

CommandInfo getInfo = infos.get("get");
assertEquals(2, getInfo.getArity());
Expand Down

0 comments on commit 24496f0

Please sign in to comment.