Skip to content

Commit

Permalink
small change
Browse files Browse the repository at this point in the history
  • Loading branch information
czpmango committed Dec 20, 2021
1 parent 1b10395 commit a598cff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions tests/tck/features/yield/parameter.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit a598cff

Please sign in to comment.