diff --git a/src/test/java/redis/clients/jedis/commands/commandobjects/CommandObjectsTestBase.java b/src/test/java/redis/clients/jedis/commands/commandobjects/CommandObjectsTestBase.java index fac2d9efc2..f8cd24724c 100644 --- a/src/test/java/redis/clients/jedis/commands/commandobjects/CommandObjectsTestBase.java +++ b/src/test/java/redis/clients/jedis/commands/commandobjects/CommandObjectsTestBase.java @@ -86,13 +86,11 @@ public void setUp() { commandExecutor.executeCommand(commandObjects.flushAll()), equalTo("OK")); - if ( RedisVersionUtil - .getRedisVersion(endpoint) + if (RedisVersionUtil.getRedisVersion(endpoint) .isGreaterThanOrEqualTo(RedisVersion.V7_0_0)) { assertThat( commandExecutor.executeCommand(commandObjects.functionFlush(FlushMode.SYNC)), equalTo("OK")); - } }