1
0
Fork 0
This commit is contained in:
jsteemann 2017-04-19 13:04:32 +02:00
parent a0e9d3b67d
commit ffabf3f78b
1 changed files with 2 additions and 5 deletions

View File

@ -1,5 +1,5 @@
/*jshint globalstrict:false, strict:false, maxlen: 500 */
/*global assertEqual, AQL_EXECUTE, AQL_EXPLAIN */
/*global assertEqual, assertFalse, AQL_EXECUTE, AQL_EXPLAIN */
////////////////////////////////////////////////////////////////////////////////
/// @brief tests for COLLECT w/ COUNT
@ -218,10 +218,7 @@ function optimizerCollectMethodsTestSuite () {
plan.nodes.map(function(node) {
if (node.type === "CollectNode") {
++aggregateNodes;
if (query[2] && node.collectOptions.method !== "sorted") {
internal.print(JSON.stringify(query[0]));
assertTrue(false);
}
assertFalse(query[2] && node.collectOptions.method !== "sorted");
assertEqual(query[2] ? "sorted" : "hash",
node.collectOptions.method);
}