Skip to content

Commit

Permalink
Modified a test so it wouldn't crash on node 0.6.x due to changes in …
Browse files Browse the repository at this point in the history
…errrno values.
  • Loading branch information
SaltwaterC committed Feb 3, 2012
1 parent bb7e20a commit 0f02713
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/invalid-file-stream.js
Expand Up @@ -17,7 +17,6 @@ fs.chmodSync(path, 0100);
ftp.get('ftp://127.0.0.1/foo.txt', path, function (err, res) {
callback = true;
assert.ok(err instanceof Error);
assert.equal(err.errno, 13);
assert.deepEqual(err.code, 1);
});

Expand Down

0 comments on commit 0f02713

Please sign in to comment.