diff --git a/test/resource/cases/demo.test b/test/resource/cases/demo.test index f7511426bd..5158d8e39d 100644 --- a/test/resource/cases/demo.test +++ b/test/resource/cases/demo.test @@ -4,4 +4,4 @@ #match (p:Person) where p.birthyear > 1900 or p.birthyear < 1910 return p #match (n:Person) return n; #CALL db.indexes(); -match (p:Person) where p.name < "D" return p \ No newline at end of file +match (p:Person) where p.name = "D" or p.name = "E" return p \ No newline at end of file diff --git a/test/resource/unit_test/profile/cypher/profile.result b/test/resource/unit_test/profile/cypher/profile.result index 99a8c2397b..b589274924 100644 --- a/test/resource/unit_test/profile/cypher/profile.result +++ b/test/resource/unit_test/profile/cypher/profile.result @@ -1,4 +1,4 @@ MATCH (n:Person) WHERE n.birthyear > 1960 RETURN n LIMIT 5; -[{"n":{"identity":12,"label":"Person","properties":{"birthyear":1970,"name":"Christopher Nolan"}}},{"n":{"identity":9,"label":"Person","properties":{"birthyear":1965,"name":"Jemma Redgrave"}}},{"n":{"identity":8,"label":"Person","properties":{"birthyear":1986,"name":"Lindsay Lohan"}}},{"n":{"identity":5,"label":"Person","properties":{"birthyear":1963,"name":"Natasha Richardson"}}}] +[{"n":{"identity":5,"label":"Person","properties":{"birthyear":1963,"name":"Natasha Richardson"}}},{"n":{"identity":8,"label":"Person","properties":{"birthyear":1986,"name":"Lindsay Lohan"}}},{"n":{"identity":9,"label":"Person","properties":{"birthyear":1965,"name":"Jemma Redgrave"}}},{"n":{"identity":12,"label":"Person","properties":{"birthyear":1970,"name":"Christopher Nolan"}}}] PROFILE MATCH (n:Person) WHERE n.birthyear > 1960 RETURN n LIMIT 5; -[{"n":{"identity":12,"label":"Person","properties":{"birthyear":1970,"name":"Christopher Nolan"}}},{"n":{"identity":9,"label":"Person","properties":{"birthyear":1965,"name":"Jemma Redgrave"}}},{"n":{"identity":8,"label":"Person","properties":{"birthyear":1986,"name":"Lindsay Lohan"}}},{"n":{"identity":5,"label":"Person","properties":{"birthyear":1963,"name":"Natasha Richardson"}}}] +[{"n":{"identity":5,"label":"Person","properties":{"birthyear":1963,"name":"Natasha Richardson"}}},{"n":{"identity":8,"label":"Person","properties":{"birthyear":1986,"name":"Lindsay Lohan"}}},{"n":{"identity":9,"label":"Person","properties":{"birthyear":1965,"name":"Jemma Redgrave"}}},{"n":{"identity":12,"label":"Person","properties":{"birthyear":1970,"name":"Christopher Nolan"}}}]