Skip to content

Commit 9f46a4d

Browse files
stefano-ottolenghilidiazuin
authored andcommitted
Make example in limit.adoc deterministic (#411)
This makes the example always return the same result by enforcing an ordering, so that we don't need to skip testing its result (this PR updates #405). The sense of the example is unaffected.
1 parent c6edab8 commit 9f46a4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/ROOT/pages/clauses/limit.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ MATCH (n)
146146
WITH n ORDER BY n.name LIMIT 1
147147
SET n.locked = true
148148
RETURN n
149+
ORDER BY n.name
149150
----
150151

151152
Writes `locked` property on one node and return that node:

0 commit comments

Comments
 (0)