Permalink
Browse files

Remove the obsolete ‘ip’ test suite

  • Loading branch information...
1 parent 9ae27ae commit 39d4ab62b40505e726e7bb70397a92949f0c75d5 @Baggz committed Mar 7, 2012
Showing with 0 additions and 38 deletions.
  1. +0 −38 tests/validators/format/ip.js
View
38 tests/validators/format/ip.js
@@ -1,38 +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: 'ip'
- };
-
- [
- '2001:0db8:85a3:0000:0000:8a2e:0370:7334',
- '210.232.115.79',
- '18.239.245.96',
- '15.138.29.10',
- '182.166.124.240',
- '118.118.155.180',
- '80.200.1.109',
- '139.170.113.124',
- '85.13.30.193',
- '80.198.199.175',
- '111.162.166.83'
- ].forEach(function(data) {
- amanda.validate(data, schema, function(error) {
- count += 1;
- test.equal(error, undefined);
- });
- });
-
- test.equal(count, 11);
- test.done();
-
-};

0 comments on commit 39d4ab6

Please sign in to comment.