Fix #337: Pick up sedge's changes from 3c49743559

This commit is contained in:
David Humphrey (:humph) david.humphrey@senecacollege.ca 2018-12-01 22:15:46 -05:00 committed by David Humphrey
parent d7945d745d
commit a107fe21d7
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ describe('FileSystemShell.env', function() {
var fs = util.fs();
var shell = new fs.Shell();
shell.cat(null, function(error, list) {
shell.ls(null, function(error, list) {
expect(error).to.exist;
expect(error.code).to.equal('EINVAL');
expect(list).not.to.exist;

View File

@ -14,7 +14,7 @@ describe('FileSystemShell.ls', function() {
var fs = util.fs();
var shell = new fs.Shell();
shell.cat(null, function(error, list) {
shell.ls(null, function(error, list) {
expect(error).to.exist;
expect(error.code).to.equal('EINVAL');
expect(list).not.to.exist;