Final revisions on removal of arbitrary logic and indentation issues

This commit is contained in:
yoavgurevich 2014-05-16 17:17:50 -04:00
parent 4d24ab2c36
commit 067f9beb88
2 changed files with 1 additions and 4 deletions

View File

@ -82,7 +82,6 @@ define(function(require) {
fs.stdin = STDIN; fs.stdin = STDIN;
fs.stdout = STDOUT; fs.stdout = STDOUT;
fs.stderr = STDERR; fs.stderr = STDERR;
fs.firstFD = FIRST_DESCRIPTOR;
// Safely expose the list of open files and file // Safely expose the list of open files and file
// descriptor management functions // descriptor management functions

View File

@ -82,9 +82,7 @@ define(["Filer", "util"], function(Filer, util) {
fs.open('/file1', 'w+', function(error, fd) { fs.open('/file1', 'w+', function(error, fd) {
if(error) throw error; if(error) throw error;
expect(error).not.to.exist; expect(fd).to.equal(firstFD);
expect(fd).to.be.a('number');
expect(fd).to.equal(firstFD);
done(); done();
}); });
}); });