Skip to content

Commit

Permalink
add a tck test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
xtcyclist committed Sep 1, 2022
1 parent 100d0c9 commit d60e442
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion tests/tck/features/expression/NotIn.feature
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,28 @@ Feature: Not In Expression
Then the result should be, in any order:
| r |
| false |


Scenario: Match Not In Set
Given a graph with space named "nba"
When executing query:
"""
match p0 = (n0)<-[e0:`like`|`teammate`|`teammate`]->(n1)
where id(n0) == "Suns"
and not (e0.like.likeness in [e0.teammate.end_year, ( e0.teammate.start_year ) ] )
or not (( "" ) not ends with ( "" + "" + "" ))
and ("" not in ( "" + "" + "" + "" ))
or (e0.teammate.start_year > ( e0.teammate.end_year ))
and (( ( ( e0.like.likeness ) ) ) / e0.teammate.start_year >
e0.teammate.start_year)
or (e0.like.likeness*e0.teammate.start_year%e0.teammate.end_year+
( ( e0.teammate.start_year ) ) > e0.teammate.end_year)
or (( ( ( ( e0.teammate.end_year ) ) ) ) in [9.8978784E7 ] )
return e0.like.likeness, e0.teammate.start_year, e0.teammate.start_year,
e0.teammate.end_year, e0.teammate.end_year
limit 91
"""
Then a SemanticError should be raised at runtime: Type error `("" NOT IN "")'
Scenario: Using NOT IN list in GO
Given a graph with space named "nba"
When executing query:
Expand Down

0 comments on commit d60e442

Please sign in to comment.