Browse Source

Whitespace

pull/273/head
Julian Simioni 9 years ago
parent
commit
bd4fbfe3bd
  1. 2
      sanitiser/_id.js
  2. 2
      test/unit/sanitiser/place.js

2
sanitiser/_id.js

@ -1,4 +1,3 @@
var _ = require('lodash'),
check = require('check-types'),
types = require('../query/types');
@ -14,7 +13,6 @@ function errorMessage(fieldname, message) {
}
function sanitize( raw, clean ){
// error & warning messages
var messages = { errors: [], warnings: [] };

2
test/unit/sanitiser/place.js

@ -1,4 +1,3 @@
// @todo: refactor this test, it's pretty messy, brittle and hard to follow
var place = require('../../../sanitiser/place'),
@ -72,7 +71,6 @@ module.exports.tests.sanitize_id = function(test, common) {
});
};
module.exports.tests.sanitize_ids = function(test, common) {
test('ids: invalid input', function(t) {
var req = { query: { id: inputs.invalid } };

Loading…
Cancel
Save