stdout -> stdin

This commit is contained in:
Todd Baur 2017-03-10 08:06:20 +09:00
parent 146cca7ef3
commit 2a7511b46e
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ describe('embark.Cmd', function () {
cmd.newApp(undefined, function (output) {
var lines = output.split('\n');
console.log(lines);
process.stdout.write(appname);
process.stdin.write(appname + '\n');
assert.equal(lines[0], pl[0]);
done();
});