Skip to content

Commit

Permalink
Strip \n, we don't care
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyriar committed Mar 31, 2017
1 parent a136ad8 commit dafdac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unixTerminal.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe("UnixTerminal", function() {
buffer += data;
});
term.on('exit', function() {
assert.equal(new Buffer(buffer, 'base64').toString().replace('\r', ''), text);
assert.equal(new Buffer(buffer, 'base64').toString().replace('\r', '').replace('\n', ''), text);
done();
});
});
Expand Down

0 comments on commit dafdac2

Please sign in to comment.