updated scripting test to be more tolerant of changing error messages (changed since 2.6.0)

This commit is contained in:
samhendley
2013-01-09 22:52:38 -05:00
parent 7b7c6c9602
commit 1a96769481

View File

@@ -132,7 +132,7 @@ public class ScriptingCommandsTest extends JedisCommandTestBase {
jedis.scriptKill(); jedis.scriptKill();
} }
catch(JedisDataException e) { catch(JedisDataException e) {
assertEquals("ERR No scripts in execution right now.", e.getMessage()); assertTrue(e.getMessage().contains("No scripts in execution right now."));
} }
} }
} }