updated scripting test to be more tolerant of changing error messages (changed since 2.6.0)
This commit is contained in:
@@ -132,7 +132,7 @@ public class ScriptingCommandsTest extends JedisCommandTestBase {
|
||||
jedis.scriptKill();
|
||||
}
|
||||
catch(JedisDataException e) {
|
||||
assertEquals("ERR No scripts in execution right now.", e.getMessage());
|
||||
assertTrue(e.getMessage().contains("No scripts in execution right now."));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user