From aaba4bcfb29e33776fa03d7260f61e3dafc48217 Mon Sep 17 00:00:00 2001 From: xtcyclist <7731943+xtcyclist@users.noreply.github.com> Date: Tue, 15 Nov 2022 23:11:31 +0800 Subject: [PATCH] add tck --- tests/tck/features/match/RedefinedNode.feature | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/tck/features/match/RedefinedNode.feature b/tests/tck/features/match/RedefinedNode.feature index e623c66782f..a0bb8dff940 100644 --- a/tests/tck/features/match/RedefinedNode.feature +++ b/tests/tck/features/match/RedefinedNode.feature @@ -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 |