@@ -244,7 +244,7 @@ public void testRecord(){
244244 + "nullValue=Property{name='nullValue', type=PROPERTY_NULL, value=null}, "
245245 + "since=Property{name='since', type=PROPERTY_INTEGER, value=2000}}}" , expectedEdge .toString ());
246246
247- Assert .assertNotNull (api .query ("social" , "CREATE (:person{name:%s' ,age:%d, doubleValue:%f, boolValue:%b, nullValue:null})" , name , age , doubleValue , boolValue ));
247+ Assert .assertNotNull (api .query ("social" , "CREATE (:person{name:%s,age:%d, doubleValue:%f, boolValue:%b, nullValue:null})" , name , age , doubleValue , boolValue ));
248248 Assert .assertNotNull (api .query ("social" , "CREATE (:person{name:'amit',age:30})" ));
249249 Assert .assertNotNull (api .query ("social" , "MATCH (a:person), (b:person) WHERE (a.name = 'roi' AND b.name='amit') " +
250250 "CREATE (a)-[:knows{place:'TLV', since:2000,doubleValue:3.14, boolValue:false, nullValue:null}]->(b)" ));
@@ -298,9 +298,9 @@ public void testRecord(){
298298 }
299299
300300 Assert .assertEquals ( "roi" , record .getString (2 ));
301- Assert .assertEquals ( "32" , record .getString (3 ));
302- Assert .assertEquals ( 32L , ((Integer )(record .getValue (3 ))).longValue ());
303- Assert .assertEquals ( 32L , ((Integer )record .getValue ("a.age" )).longValue ());
301+ Assert .assertEquals ( "32" , record .getString (3 ));
302+ Assert .assertEquals ( 32L , ((Integer )(record .getValue (3 ))).longValue ());
303+ Assert .assertEquals ( 32L , ((Integer )record .getValue ("a.age" )).longValue ());
304304 Assert .assertEquals ( "roi" , record .getString ("a.name" ));
305305 Assert .assertEquals ( "32" , record .getString ("a.age" ));
306306
@@ -502,9 +502,9 @@ record = resultSet.next();
502502
503503 @ Test
504504 public void testEscapedQuery () {
505- Assert .assertNotNull (api .query ("social" , "CREATE (:escaped{s1:%s,s2:%s})" , "S\" \ ' " , "S\\ ' \\ \" " ));
506- Assert .assertNotNull (api .query ("social" , "MATCH (n) where n.s1=%s and n.s2=%s RETURN n" , "S\" \ ' " , "S\\ ' \\ \" " ));
507- Assert .assertNotNull (api .query ("social" , "MATCH (n) where n.s1='S\" \\ ' ' RETURN n" ));
505+ Assert .assertNotNull (api .query ("social" , "CREATE (:escaped{s1:%s,s2:%s})" , "S\" '" , "S' \" " ));
506+ Assert .assertNotNull (api .query ("social" , "MATCH (n) where n.s1=%s and n.s2=%s RETURN n" , "S\" '" , "S' \" " ));
507+ Assert .assertNotNull (api .query ("social" , "MATCH (n) where n.s1='S\" ' RETURN n" ));
508508 }
509509
510510
@@ -658,7 +658,7 @@ public void testContextedAPI() {
658658 expectedEdge .addProperty (nullProperty );
659659
660660 try (RedisGraphContext c = api .getContext ()) {
661- Assert .assertNotNull (c .query ("social" , "CREATE (:person{name:%s' ,age:%d, doubleValue:%f, boolValue:%b, nullValue:null})" , name , age , doubleValue , boolValue ));
661+ Assert .assertNotNull (c .query ("social" , "CREATE (:person{name:%s,age:%d, doubleValue:%f, boolValue:%b, nullValue:null})" , name , age , doubleValue , boolValue ));
662662 Assert .assertNotNull (c .query ("social" , "CREATE (:person{name:'amit',age:30})" ));
663663 Assert .assertNotNull (c .query ("social" , "MATCH (a:person), (b:person) WHERE (a.name = 'roi' AND b.name='amit') " +
664664 "CREATE (a)-[:knows{place:'TLV', since:2000,doubleValue:3.14, boolValue:false, nullValue:null}]->(b)" ));
0 commit comments