checks what the server output is

This commit is contained in:
Romain Beaumont 2015-03-29 18:18:58 +02:00
parent 8886cc5344
commit f71a27a331

View File

@ -266,6 +266,7 @@ describe("client", function() {
mcServer.stdout.on('data', onData);
mcServer.stderr.on('data', onData);
function onData(data) {
console.log(data);
buffer += data;
var lines = buffer.split("\n");
var len = lines.length - 1;