Browse Source

Whitespace

pull/549/head
Julian Simioni 9 years ago
parent
commit
05baed7b51
No known key found for this signature in database
GPG Key ID: 6DAD08919FDBF563
  1. 1
      sanitiser/_geo_reverse.js
  2. 3
      test/unit/sanitiser/_geo_reverse.js

1
sanitiser/_geo_reverse.js

@ -1,4 +1,3 @@
var geo_common = require ('./_geo_common');
var _ = require('lodash');
var defaults = require('../query/reverse_defaults');

3
test/unit/sanitiser/_geo_reverse.js

@ -83,7 +83,6 @@ module.exports.tests.sanitize_boundary_country = function(test, common) {
t.equals(raw['boundary.circle.radius'], defaults['boundary:circle:radius'], 'should be from defaults');
t.equals(clean['boundary.circle.radius'], parseFloat(defaults['boundary:circle:radius']), 'should be same as raw');
t.end();
});
test('explicit boundary.circle.radius should be used instead of default', function(t) {
@ -98,9 +97,7 @@ module.exports.tests.sanitize_boundary_country = function(test, common) {
t.equals(raw['boundary.circle.radius'], '3248732857km', 'should be parsed float');
t.equals(clean['boundary.circle.radius'], 3248732857.0, 'should be copied from raw');
t.end();
});
};
module.exports.all = function (tape, common) {

Loading…
Cancel
Save