From a598cff20f0e69a7ed6debbe852f33f37769f34b Mon Sep 17 00:00:00 2001 From: "kyle.cao" Date: Mon, 20 Dec 2021 10:57:45 +0800 Subject: [PATCH] small change --- tests/Makefile | 1 - tests/tck/features/yield/parameter.feature | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/Makefile b/tests/Makefile index df66df595d0..1bce3016ea9 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -32,7 +32,6 @@ install-deps: install-nebula-py: install-deps # TODO: just for test (czp) git clone --branch param-var https://github.com/czpmango/nebula-python $(CURR_DIR)/nebula-python - pip3 uninstall nebula2-python -y cd $(CURR_DIR)/nebula-python \ && pip3 install --user . -i $(PYPI_MIRROR) --upgrade rm -rf $(CURR_DIR)/nebula-python diff --git a/tests/tck/features/yield/parameter.feature b/tests/tck/features/yield/parameter.feature index e975484630f..7271a3e0d9a 100644 --- a/tests/tck/features/yield/parameter.feature +++ b/tests/tck/features/yield/parameter.feature @@ -139,3 +139,9 @@ Feature: Parameter MATCH (v:player) RETURN v LIMIT $p6 """ Then a SemanticError should be raised at runtime: LIMIT should be of type integer + When executing query: + """ + $var=GO FROM "Tim Duncan" OVER like YIELD like._dst AS dst; + MATCH (v:player) WHERE $var RETURN v,$var LIMIT $p6 + """ + Then a SyntaxError should be raised at runtime: Direct output of variable is prohibited near `$var'