Skip to content

Commit

Permalink
add tck
Browse files Browse the repository at this point in the history
  • Loading branch information
xtcyclist committed Nov 21, 2022
1 parent 7434362 commit 23cd9c7
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 23cd9c7

Please sign in to comment.