8000 Added proper sorting in test code. Not deterministic otherwise · arangodb/arangodb@ce9812d · GitHub
[go: up one dir, main page]

Skip to content

Commit ce9812d

Browse files
committed
Added proper sorting in test code. Not deterministic otherwise
1 parent aa3e8c1 commit ce9812d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/server/tests/aql/aql-graph-traverser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ function nestedSuite () {
129129
assertEqual([ ], result);
130130

131131
result = AQL_EXECUTE(query, { start1: tags.name() + "/land", start2: tags.name() + "/fast", "@tagged": tagged.name() }).json;
132-
assertEqual([ "car", "train" ], result);
132+
assertEqual([ "car", "train" ], result.sort());
133133

134134
result = AQL_EXECUTE(query, { start1: tags.name() + "/land", start2: tags.name() + "/private", "@tagged": tagged.name() }).json;
135135
assertEqual([ "bicycle", "car" ], result.sort());

0 commit comments

Comments
 (0)
0