Fix test-readdir.js

Was broken because I added "throws_error.js" to the fixtures directory.
Problem appeared in bfa36136da.
pull/5370/head
Ryan Dahl 2009-12-19 00:45:01 +01:00
parent 0ea2f9e04b
commit 0981e7f663
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,8 @@ puts("readdir " + fixturesDir);
promise.addCallback(function (files) {
p(files);
assert.deepEqual(["a.js", "b", "multipart.js", "test_ca.pem", "test_cert.pem", "test_key.pem", "x.txt"], files.sort());
assert.deepEqual(["a.js", "b", "multipart.js", "test_ca.pem",
"test_cert.pem", "test_key.pem", "throws_error.js", "x.txt"], files.sort());
});
promise.addErrback(function () {