From 074addd6fdc26cc885304d4e049de155dddfcd8c Mon Sep 17 00:00:00 2001 From: xtcyclist <7731943+xtcyclist@users.noreply.github.com> Date: Thu, 8 Dec 2022 11:39:29 +0800 Subject: [PATCH] add a tck --- tests/tck/features/match/With.feature | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/tck/features/match/With.feature b/tests/tck/features/match/With.feature index a7172118722..98ed91f4c04 100644 --- a/tests/tck/features/match/With.feature +++ b/tests/tck/features/match/With.feature @@ -402,3 +402,14 @@ Feature: With clause Then the result should be, in order: | count(v0) | | 51 | + When executing query: + """ + match (v:player) + with v AS p + match (p) + with p AS v + match (v) + with * + return count (p) + """ + Then a SemanticError should be raised at runtime: Alias used but not defined: `p' \ No newline at end of file