Skip to content

Commit

Permalink
add tck
Browse files Browse the repository at this point in the history
  • Loading branch information
xtcyclist committed Nov 17, 2022
1 parent 98402e0 commit 1f577c5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/tck/features/match/RedefinedNode.feature
Original file line number Diff line number Diff line change
Expand Up @@ -192,3 +192,11 @@ Feature: Redefined symbols
MATCH (v:player{name:"abc"})-[e:like]->(v1)-[e:like]->(v2) RETURN *
"""
Then a SemanticError should be raised at runtime: `e': Redefined alias

Scenario: Redefined alias in with
When executing query:
"""
MATCH (n0)-[e0]->(n0) WHERE (id(n0) IN [7,10]) with * RETURN *
"""
Then the result should be, in any order:
| n0 | e0 |

0 comments on commit 1f577c5

Please sign in to comment.