Permalink
Browse files

Remove the obsolete ‘unsignedInt’ test suite

  • Loading branch information...
1 parent bedc642 commit b3d327a2462e2d5a24732fd92b7d7db39aac7247 @Baggz committed Mar 7, 2012
Showing with 0 additions and 44 deletions.
  1. +0 −44 tests/validators/format/unsignedInt.js
@@ -1,44 +0,0 @@
-// Load dependencies
-var amanda = require('../../../dist/latest.js');
-
-/**
- * Test #1
- */
-exports['Test #1'] = function(test) {
-
- var count = 0;
-
- var schema = {
- required: true,
- format: 'unsignedInt'
- };
-
- [
- 1,
- 2,
- 3,
- 4,
- 5,
- 6
- ].forEach(function(data) {
- amanda.validate(data, schema, function(error) {
- count += 1;
- test.equal(error, undefined);
- });
- });
-
- [
- -1212,
- -2112,
- -12.21
- ].forEach(function(data) {
- amanda.validate(data, schema, function(error) {
- count += 1;
- test.ok(error);
- });
- });
-
- test.equal(count, 9);
- test.done();
-
-};

0 comments on commit b3d327a

Please sign in to comment.