From eae2f4f1c494ebd3aab556d0e62332b38a2a4dbb Mon Sep 17 00:00:00 2001 From: ggivo Date: Mon, 2 Dec 2024 11:33:04 +0200 Subject: [PATCH] Update src/test/java/redis/clients/jedis/commands/commandobjects/CommandObjectsTestBase.java Co-authored-by: M Sazzadul Hoque <7600764+sazzad16@users.noreply.github.com> --- .../jedis/commands/commandobjects/CommandObjectsTestBase.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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")); - } }