Skip to content

Commit

Permalink
Good datapackage test passed (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
zerberio committed Jun 16, 2015
1 parent 09e0a37 commit a42d47e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions test/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ describe('validate schema', function() {
"path": "data/data.csv"
}]
};
var out = tools.validate(data);
// console.log(JSON.stringify(out, null, 2));
assert.equal(out.valid, true);
assert.equal(out.errors.length, 0);
tools.validate(data).then(function(O) {
// console.log(JSON.stringify(out, null, 2));
assert.equal(O.valid, true);
assert.equal(O.errors.length, 0);
});
});
});

Expand Down

0 comments on commit a42d47e

Please sign in to comment.