mirror of https://gitee.com/bigwinds/arangodb
jslint
This commit is contained in:
parent
a0e9d3b67d
commit
ffabf3f78b
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue