File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/com/redislabs/redisgraph Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public void testConnectNodes() throws Exception {
5050 ResultSet createResult2 = api .query ("CREATE (:person{name:'amit',age:30})" );
5151
5252 // Connect source and destination nodes.
53- ResultSet matchResult = api .query ("MATCH (a:person), (b:person) WHERE (a.name = 'roi' AND b.name='amit') CREATE (a)-[knows]->(a)" );
53+ ResultSet matchResult = api .query ("MATCH (a:person), (b:person) WHERE (a.name = 'roi' AND b.name='amit') CREATE (a)-[: knows]->(a)" );
5454
5555 Assert .assertFalse (matchResult .hasNext ());
5656 Assert .assertNull (matchResult .getStatistics ().getStringValue (Label .NODES_CREATED ));
@@ -68,7 +68,7 @@ public void testQuery() throws Exception {
6868 ResultSet create2Result = api .query ("CREATE (:qhuman{name:'amit',age:30})" );
6969
7070 // Connect source and destination nodes.
71- ResultSet connectResult = api .query ("MATCH (a:qhuman), (b:qhuman) WHERE (a.name = 'roi' AND b.name='amit') CREATE (a)-[knows]->(b)" );
71+ ResultSet connectResult = api .query ("MATCH (a:qhuman), (b:qhuman) WHERE (a.name = 'roi' AND b.name='amit') CREATE (a)-[: knows]->(b)" );
7272
7373 // Query
7474 ResultSet resultSet = api .query ("MATCH (a:qhuman)-[knows]->(:qhuman) RETURN a" );
You can’t perform that action at this time.
0 commit comments