Debian Codegraph @

test/other/test-input-error.js

raw
1 var inputError = require('../../lib/util/input-error');
2
3 module.exports = {
4 "should produce an Error object distinguishable from unexpected errors": function (test) {
5 var e = inputError.create('bad user!');
6 test.equal('bad user!', e.message);
7 test.ok(e.inputError);
8 test.done();
9 }
10 };