From 2a7511b46e840379bf1d25ce10469bbefb463461 Mon Sep 17 00:00:00 2001 From: Todd Baur Date: Fri, 10 Mar 2017 08:06:20 +0900 Subject: [PATCH] stdout -> stdin --- test/cmd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cmd.js b/test/cmd.js index eb72e15f1..d5853dea2 100644 --- a/test/cmd.js +++ b/test/cmd.js @@ -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(); });