2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-12-23 10:38:01 +00:00

fix the test checks

This commit is contained in:
mohammed jasem alaajel 2021-07-20 14:52:03 +04:00
parent ba9ca03e1b
commit 9227224248

View File

@ -8,8 +8,8 @@ public class RedisUtilTest {
@Test
public void testRedisLuaCheck() {
Assert.assertTrue(RedisUtil.canUseLua("6.2.0"));
Assert.assertFalse(RedisUtil.canUseLua("6.1.0"));
Assert.assertFalse(RedisUtil.canUseLua("6.0.0"));
Assert.assertTrue(RedisUtil.canUseLua("6.1.0"));
Assert.assertTrue(RedisUtil.canUseLua("6.0.0"));
Assert.assertFalse(RedisUtil.canUseLua("2.6.0"));
Assert.assertFalse(RedisUtil.canUseLua("2.2.12"));
Assert.assertFalse(RedisUtil.canUseLua("1.2.4"));