Browse Source

Whitespace

pull/230/head
Julian Simioni 9 years ago
parent
commit
040871cbe4
  1. 1
      sanitiser/reverse.js
  2. 2
      test/unit/query/reverse.js
  3. 3
      test/unit/query/search.js

1
sanitiser/reverse.js

@ -1,4 +1,3 @@
var _sanitize = require('../sanitiser/_sanitize'), var _sanitize = require('../sanitiser/_sanitize'),
sanitiser = { sanitiser = {
latlonzoom: function( req ) { latlonzoom: function( req ) {

2
test/unit/query/reverse.js

@ -1,4 +1,3 @@
var generate = require('../../../query/reverse'); var generate = require('../../../query/reverse');
module.exports.tests = {}; module.exports.tests = {};
@ -38,7 +37,6 @@ module.exports.tests.query = function(test, common) {
}; };
module.exports.all = function (tape, common) { module.exports.all = function (tape, common) {
function test(name, testFunction) { function test(name, testFunction) {
return tape('reverse query ' + name, testFunction); return tape('reverse query ' + name, testFunction);
} }

3
test/unit/query/search.js

@ -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);
} }

Loading…
Cancel
Save