Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove the obsolete ‘int’ test suite

  • Loading branch information...
commit 9ae27ae7b7fc24e7487a646c46f1c6d1bd8e9147 1 parent b4d19d5
@Baggz authored
Showing with 0 additions and 35 deletions.
  1. +0 −35 tests/validators/format/int.js
View
35 tests/validators/format/int.js
@@ -1,35 +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: 'int'
- };
-
- [
- 1,
- 2,
- 3,
- 4,
- 5,
- 6,
- -1,
- -2
- ].forEach(function(data) {
- amanda.validate(data, schema, function(error) {
- count += 1;
- test.equal(error, undefined);
- });
- });
-
- test.equal(count, 8);
- test.done();
-
-};
Please sign in to comment.
Something went wrong with that request. Please try again.