This commit is contained in:
Daniel Imms
2018-06-03 16:25:32 +02:00
parent 2aff2eb710
commit 53463681de
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ if (os.platform() !== 'win32') {
const fromEmulator = terminalToString(xterm);
console.log = consoleLog;
const expected = fs.readFileSync(filename.split('.')[0] + '.text', 'utf8');
// Some of the tests have whitespace on the right of lines, we trim all the linex
// from xterm.js so ignore this for now at least.
const expectedRightTrimmed = expected.split('\n').map(l => l.replace(/\s+$/, '')).join('\n');