From 46722605f66523712dfb3c0ba8cbbae0a624110e Mon Sep 17 00:00:00 2001 From: jimingquan Date: Wed, 13 Oct 2021 18:45:53 +0800 Subject: [PATCH] fix error --- tests/tck/features/go/GoYieldVertexEdge.feature | 4 ++-- tests/tck/features/match/Base.feature | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/tck/features/go/GoYieldVertexEdge.feature b/tests/tck/features/go/GoYieldVertexEdge.feature index 8fc991f65f1..4075300fbbf 100644 --- a/tests/tck/features/go/GoYieldVertexEdge.feature +++ b/tests/tck/features/go/GoYieldVertexEdge.feature @@ -247,8 +247,8 @@ Feature: Go Yield Vertex And Edge Sentence YIELD DISTINCT collect($-.id) as a, collect_set($-.id) as b """ Then the result should be, in any order, with relax comparison: - | a | b | - | ["Tony Parker", "Tim Duncan", "LaMarcus Aldridge", "Manu Ginobili", "Tim Duncan"] | ["Manu Ginobili", "LaMarcus Aldridge", "Tony Parker", "Tim Duncan"] | + | a | b | + | ["Tim Duncan", "LaMarcus Aldridge", "Manu Ginobili", "Tim Duncan"] | {"Manu Ginobili", "LaMarcus Aldridge", "Tim Duncan"} | Scenario: distinct When executing query: diff --git a/tests/tck/features/match/Base.feature b/tests/tck/features/match/Base.feature index bd4cf155d02..8cd92190d1a 100644 --- a/tests/tck/features/match/Base.feature +++ b/tests/tck/features/match/Base.feature @@ -213,7 +213,7 @@ Feature: Basic match | ("Yao Ming" :player{age: 38, name: "Yao Ming"}) | [:like "Yao Ming"->"Tracy McGrady" @0 {likeness: 90}] | ("Tracy McGrady" :player{age: 39, name: "Tracy McGrady"}) | When executing query: """ - MATCH (v:player)-[e:like]-(v2) where id(v) == "Tim Duncan" RETURN DISTINCT properties(e) as props, e + MATCH (v:player)-[e:like]->(v2) where id(v) == "Tim Duncan" RETURN DISTINCT properties(e) as props, e """ Then the result should be, in any order, with relax comparison: | props | e | @@ -221,7 +221,7 @@ Feature: Basic match | {likeness: 95} | [:like "Tim Duncan"->"Tony Parker" @0 {likeness: 95}] | When executing query: """ - MATCH (v:player)-[e:like]-(v2) where id(v) == "Tim Duncan" RETURN DISTINCT properties(e) as props + MATCH (v:player)-[e:like]->(v2) where id(v) == "Tim Duncan" RETURN DISTINCT properties(e) as props """ Then the result should be, in any order, with relax comparison: | props |