Skip to content

Commit

Permalink
fix strict order
Browse files Browse the repository at this point in the history
  • Loading branch information
HarrisChu committed Apr 21, 2022
1 parent b789a3e commit 9c401b7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/tck/features/go/Orderby.feature
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,13 @@ Feature: Orderby Sentence
| "LaMarcus Aldridge" | 90 |
When executing query:
"""
$var = GO FROM "Tony Parker" OVER like YIELD like._dst AS dst; ORDER BY $var.dst DESC | FETCH PROP ON * $-.dst YIELD vertex as node
$var = GO FROM "Tony Parker" OVER like YIELD like._dst AS dst;
ORDER BY $var.dst DESC | FETCH PROP ON * $-.dst YIELD vertex as node | ORDER by $-.node DESC
"""
Then the result should be, in order, with relax comparison:
| node |
| ("Manu Ginobili" :player{age: 41, name: "Manu Ginobili"}) |
| ("Tim Duncan" :bachelor{name: "Tim Duncan", speciality: "psychology"} :player{age: 42, name: "Tim Duncan"}) |
| ("Manu Ginobili" :player{age: 41, name: "Manu Ginobili"}) |
| ("LaMarcus Aldridge" :player{age: 33, name: "LaMarcus Aldridge"}) |
When executing query:
"""
Expand Down

0 comments on commit 9c401b7

Please sign in to comment.