Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Commit

Permalink
Allow the case insensitive property for date time.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shylock-Hg committed Jul 28, 2021
1 parent 636ffa4 commit 73a97eb
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions tests/tck/features/expression/Attribute.feature
Original file line number Diff line number Diff line change
Expand Up @@ -15,34 +15,69 @@ Feature: Attribute
Then the result should be, in any order:
| month |
| 7 |
When executing query:
"""
RETURN date("2021-07-19").MoNth AS month
"""
Then the result should be, in any order:
| month |
| 7 |
When executing query:
"""
RETURN time("02:59:40").minute AS minute
"""
Then the result should be, in any order:
| minute |
| 59 |
When executing query:
"""
RETURN time("02:59:40").MinUte AS minute
"""
Then the result should be, in any order:
| minute |
| 59 |
When executing query:
"""
RETURN datetime("2021-07-19T02:59:40").minute AS minute
"""
Then the result should be, in any order:
| minute |
| 59 |
When executing query:
"""
RETURN datetime("2021-07-19T02:59:40").mInutE AS minute
"""
Then the result should be, in any order:
| minute |
| 59 |
When executing query:
"""
RETURN {k1 : 1, k2: true}.k1 AS k
"""
Then the result should be, in any order:
| k |
| 1 |
When executing query:
"""
RETURN {k1 : 1, k2: true}.K1 AS k
"""
Then the result should be, in any order:
| k |
| UNKNOWN_PROP |
When executing query:
"""
MATCH (v) WHERE id(v) == 'Tim Duncan' RETURN v.name
"""
Then the result should be, in any order:
| v.name |
| "Tim Duncan" |
When executing query:
"""
MATCH (v) WHERE id(v) == 'Tim Duncan' RETURN v.Name
"""
Then the result should be, in any order:
| v.Name |
| UNKNOWN_PROP |
When executing query:
"""
MATCH (v)-[e:like]->() WHERE id(v) == 'Tim Duncan' RETURN e.likeness
Expand All @@ -51,6 +86,14 @@ Feature: Attribute
| e.likeness |
| 95 |
| 95 |
When executing query:
"""
MATCH (v)-[e:like]->() WHERE id(v) == 'Tim Duncan' RETURN e.Likeness
"""
Then the result should be, in any order:
| e.Likeness |
| UNKNOWN_PROP |
| UNKNOWN_PROP |

Scenario: Not exists attribute
When executing query:
Expand Down

0 comments on commit 73a97eb

Please sign in to comment.