Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
nevermore3 committed Oct 13, 2021
1 parent 3dbfa14 commit 4672260
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/tck/features/go/GoYieldVertexEdge.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions tests/tck/features/match/Base.feature
Original file line number Diff line number Diff line change
Expand Up @@ -213,15 +213,15 @@ 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 |
| {likeness: 95} | [:like "Tim Duncan"->"Manu Ginobili" @0 {likeness: 95}] |
| {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 |
Expand Down

0 comments on commit 4672260

Please sign in to comment.