Skip to content

Commit b1709c3

Browse files
author
Jonathan Stewmon
committed
sort items result to make result predictable
1 parent ade5bf3 commit b1709c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/compliance/functions.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@
177177
"error": "invalid-type"
178178
},
179179
{
180-
"expression": "items(objects)",
181-
"result": [["foo", "bar"], ["bar", "baz"]]
180+
"expression": "sort_by(items(objects), &[0])",
181+
"result": [["bar", "baz"], ["foo", "bar"]]
182182
},
183183
{
184184
"expression": "items(empty_hash)",

0 commit comments

Comments
 (0)