Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove the obsolete ‘errorObject’ test suite

  • Loading branch information...
commit ba55cc06b289dc091e321ba25eceef9606636232 1 parent 0c87b5d
@Baggz authored
Showing with 0 additions and 36 deletions.
  1. +0 −36 tests/errorObject.js
View
36 tests/errorObject.js
@@ -1,36 +0,0 @@
-// Load dependencies
-var amanda = require('../dist/latest.js');
-
-/**
- * Test #1
- */
-exports['Test #1'] = function(test) {
-
- var schema = {
- type: 'object',
- properties: {
- name: {
- required: true,
- type: 'string'
- },
- surname: {
- required: true,
- type: 'string'
- }
- }
- };
-
- amanda.validate({
- name: 123,
- surname: 456
- }, schema, { singleError: false }, function(error) {
-
- var properties = error.getProperties();
-
- test.deepEqual(properties, ['name', 'surname']);
-
- })
-
- test.done();
-
-};
Please sign in to comment.
Something went wrong with that request. Please try again.