Fix #337: Pick up sedge's changes from 3c49743559
This commit is contained in:
parent
d7945d745d
commit
a107fe21d7
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue