intercept-stdout icon indicating copy to clipboard operation
intercept-stdout copied to clipboard

Test fails in Windows

Open cool-Blue opened this issue 8 years ago • 1 comments

Very minor point but in Windows os.EOL returns '\r\n' but node writes \n so the last 2 tests fail..

// console.js#38
Console.prototype.log = function() {
  this._stdout.write(util.format.apply(null, arguments) + '\n');
};

image

I would offer a pr but I can't test on UNIX...

cool-Blue avatar Aug 18 '16 05:08 cool-Blue

Thanks, will look into this once I have a windows machine in front of me.

sfarthin avatar Mar 08 '17 13:03 sfarthin