Final revisions on removal of arbitrary logic and indentation issues
This commit is contained in:
parent
4d24ab2c36
commit
067f9beb88
|
@ -82,7 +82,6 @@ define(function(require) {
|
|||
fs.stdin = STDIN;
|
||||
fs.stdout = STDOUT;
|
||||
fs.stderr = STDERR;
|
||||
fs.firstFD = FIRST_DESCRIPTOR;
|
||||
|
||||
// Safely expose the list of open files and file
|
||||
// descriptor management functions
|
||||
|
|
|
@ -82,9 +82,7 @@ define(["Filer", "util"], function(Filer, util) {
|
|||
|
||||
fs.open('/file1', 'w+', function(error, fd) {
|
||||
if(error) throw error;
|
||||
expect(error).not.to.exist;
|
||||
expect(fd).to.be.a('number');
|
||||
expect(fd).to.equal(firstFD);
|
||||
expect(fd).to.equal(firstFD);
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue