From 1ddbf6ddd1afccb262c127bcb3c49c058e96ddf5 Mon Sep 17 00:00:00 2001 From: Anqi Date: Fri, 31 Mar 2023 14:05:58 +0800 Subject: [PATCH] revert test result for find path --- .../client/graph/data/TestDataFromServer.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/client/src/test/java/com/vesoft/nebula/client/graph/data/TestDataFromServer.java b/client/src/test/java/com/vesoft/nebula/client/graph/data/TestDataFromServer.java index 26054380d..b2ce7ea5b 100644 --- a/client/src/test/java/com/vesoft/nebula/client/graph/data/TestDataFromServer.java +++ b/client/src/test/java/com/vesoft/nebula/client/graph/data/TestDataFromServer.java @@ -502,13 +502,14 @@ public void tesDataset() { Collections.sort(pathStrings); String listString = String.join(", ", pathStrings); - String expectString = "ColumnName: [p], Values: [(\"a\" :player {})-[:like@0{}]->" - + "(\"f\" :player {})<-[:like@0{}]-(\"c\" :player {})], ColumnName: [p], " - + "Values: [(\"a\" :player {})-[:like@0{}]->(\"g\" :player {})-[:like@0{}]->" - + "(\"c\" :player {})], ColumnName: [p], Values: [(\"a\" :player {})" - + "<-[:like@0{}]-(\"b\" :player {})<-[:like@0{}]-(\"c\" :player {})], " - + "ColumnName: [p], Values: [(\"a\" :player {})<-[:like@0{}]-(\"d\" :player {})" - + "-[:like@0{}]->(\"c\" :player {})]"; + String expectString = "ColumnName: [p]," + + " Values: [(\"a\" )-[:like@0{}]->(\"f\" )<-[:like@0{}]-(\"c\" )], " + + "ColumnName: [p]," + + " Values: [(\"a\" )-[:like@0{}]->(\"g\" )-[:like@0{}]->(\"c\" )], " + + "ColumnName: [p]," + + " Values: [(\"a\" )<-[:like@0{}]-(\"b\" )<-[:like@0{}]-(\"c\" )], " + + "ColumnName: [p]," + + " Values: [(\"a\" )<-[:like@0{}]-(\"d\" )-[:like@0{}]->(\"c\" )]"; Assert.assertEquals(expectString, listString); } catch (IOErrorException | InterruptedException e) {