diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-12-10 21:51:33 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-12-10 21:51:33 +0100 |
commit | 0469abd4a9c9270a1fdc962969e36e63699af8b4 (patch) | |
tree | f9864d4a4148621378958794cbbfdc2393733283 /node_modules/errno/test.js | |
parent | 6947e79bbc258f7bc96af424ddb71a511f0c15a3 (diff) |
upgrade dependencies
Diffstat (limited to 'node_modules/errno/test.js')
-rwxr-xr-x | node_modules/errno/test.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/node_modules/errno/test.js b/node_modules/errno/test.js index 6b76a85ae..3a0ef7013 100755 --- a/node_modules/errno/test.js +++ b/node_modules/errno/test.js @@ -8,14 +8,14 @@ test('sanity checks', function (t) { t.ok(errno.errno, 'errno.errno not found') t.ok(errno.code, 'errno.code not found') - t.equal(errno.all.length, 59, 'found ' + errno.all.length + ', expected 59') - t.equal(errno.errno['-1'], errno.all[0], 'errno -1 not first element') + t.equal(errno.all.length, 60, 'found ' + errno.all.length + ', expected 60') + t.equal(errno.errno['-1'], errno.all[1], 'errno -1 not second element') - t.equal(errno.code['UNKNOWN'], errno.all[0], 'code UNKNOWN not first element') + t.equal(errno.code['UNKNOWN'], errno.all[1], 'code UNKNOWN not second element') - t.equal(errno.errno[1], errno.all[2], 'errno 1 not third element') + t.equal(errno.errno[1], errno.all[3], 'errno 1 not fourth element') - t.equal(errno.code['EOF'], errno.all[2], 'code EOF not third element') + t.equal(errno.code['EOF'], errno.all[3], 'code EOF not fourth element') t.end() }) |