|
|
@ -1,4 +1,3 @@ |
|
|
|
|
|
|
|
|
|
|
|
var generate = require('../../../query/search'); |
|
|
|
var generate = require('../../../query/search'); |
|
|
|
var parser = require('../../../helper/query_parser'); |
|
|
|
var parser = require('../../../helper/query_parser'); |
|
|
|
|
|
|
|
|
|
|
@ -137,11 +136,9 @@ module.exports.tests.query = function(test, common) { |
|
|
|
t.deepEqual(compiled, expected, 'valid search query'); |
|
|
|
t.deepEqual(compiled, expected, 'valid search query'); |
|
|
|
t.end(); |
|
|
|
t.end(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
module.exports.all = function (tape, common) { |
|
|
|
module.exports.all = function (tape, common) { |
|
|
|
|
|
|
|
|
|
|
|
function test(name, testFunction) { |
|
|
|
function test(name, testFunction) { |
|
|
|
return tape('search query ' + name, testFunction); |
|
|
|
return tape('search query ' + name, testFunction); |
|
|
|
} |
|
|
|
} |
|
|
|