-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
So i clone the repo, and edit the example echo.js like this:
nexpect.spawn("echo", ["xxx"]) // echo something wrong
.expect("hello") // this should fail
.run(function (err) {
console.log(arguments); // here
if (!err) {
console.log("hello was echoed");
}
});
However i still got hello was echoed
. The output is:
{ '0': [Error: xxx was not expected..] }
{ '0': null, '1': [ 'xxx' ], '2': 0 }
hello was echoed
This is wrong, right?
Metadata
Metadata
Assignees
Labels
No labels