Fix formatting.
This commit is contained in:
@@ -244,7 +244,7 @@ public class PipeliningTest extends Assert {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testEval(){
|
public void testEval() {
|
||||||
String script = "return 'success!'";
|
String script = "return 'success!'";
|
||||||
|
|
||||||
Pipeline p = jedis.pipelined();
|
Pipeline p = jedis.pipelined();
|
||||||
@@ -255,7 +255,7 @@ public class PipeliningTest extends Assert {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testEvalKeyAndArg(){
|
public void testEvalKeyAndArg() {
|
||||||
String key = "test";
|
String key = "test";
|
||||||
String arg = "3";
|
String arg = "3";
|
||||||
String script = "redis.call('INCRBY', KEYS[1], ARGV[1]) redis.call('INCRBY', KEYS[1], ARGV[1])";
|
String script = "redis.call('INCRBY', KEYS[1], ARGV[1]) redis.call('INCRBY', KEYS[1], ARGV[1])";
|
||||||
@@ -274,7 +274,7 @@ public class PipeliningTest extends Assert {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testEvalsha(){
|
public void testEvalsha() {
|
||||||
String script = "return 'success!'";
|
String script = "return 'success!'";
|
||||||
String sha1 = jedis.scriptLoad(script);
|
String sha1 = jedis.scriptLoad(script);
|
||||||
|
|
||||||
@@ -288,7 +288,7 @@ public class PipeliningTest extends Assert {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testEvalshaKeyAndArg(){
|
public void testEvalshaKeyAndArg() {
|
||||||
String key = "test";
|
String key = "test";
|
||||||
String arg = "3";
|
String arg = "3";
|
||||||
String script = "redis.call('INCRBY', KEYS[1], ARGV[1]) redis.call('INCRBY', KEYS[1], ARGV[1])";
|
String script = "redis.call('INCRBY', KEYS[1], ARGV[1]) redis.call('INCRBY', KEYS[1], ARGV[1])";
|
||||||
|
|||||||
Reference in New Issue
Block a user