zhenyuT commented on code in PR #538:
URL: 
https://github.com/apache/incubator-hugegraph-toolchain/pull/538#discussion_r1406394359


##########
hugegraph-client/src/test/java/org/apache/hugegraph/functional/EdgeTest.java:
##########
@@ -46,6 +46,21 @@
 
 public class EdgeTest extends BaseFuncTest {
 
+    private static void assertContains(List<Edge> edges, Object source,
+                                       String label, Object target,
+                                       Object... keyValues) {
+        Map<String, Object> properties = Utils.asMap(keyValues);
+
+        Edge edge = new Edge(label);
+        edge.sourceId(source);
+        edge.targetId(target);
+        for (String key : properties.keySet()) {
+            edge.property(key, properties.get(key));
+        }
+
+        Assert.assertTrue(Utils.contains(edges, edge));
+    }

Review Comment:
   the ide format it automatically



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to