From 1a967694817594e0c43f5ce6095eeec01f52e9e3 Mon Sep 17 00:00:00 2001 From: samhendley Date: Wed, 9 Jan 2013 22:52:38 -0500 Subject: [PATCH] updated scripting test to be more tolerant of changing error messages (changed since 2.6.0) --- .../clients/jedis/tests/commands/ScriptingCommandsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/redis/clients/jedis/tests/commands/ScriptingCommandsTest.java b/src/test/java/redis/clients/jedis/tests/commands/ScriptingCommandsTest.java index acee2cf..ed59799 100644 --- a/src/test/java/redis/clients/jedis/tests/commands/ScriptingCommandsTest.java +++ b/src/test/java/redis/clients/jedis/tests/commands/ScriptingCommandsTest.java @@ -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.")); } } } \ No newline at end of file