Add failing tab test

This commit is contained in:
Daniel Imms
2019-11-24 10:20:19 -08:00
parent 45af02590e
commit 3969eb9382
@@ -255,6 +255,15 @@ describe('SerializeAddon', () => {
await writeSync(page, lines.join('\\r\\n'));
assert.equal(await page.evaluate(`serializeAddon.serialize();`), lines.join('\r\n'));
});
it('serialize tabs correctly', async () => {
const lines = [
'a\tb',
'foo\tbar\tbaz'
];
await writeSync(page, lines.join('\\r\\n'));
assert.equal(await page.evaluate(`serializeAddon.serialize();`), lines.join('\r\n'));
});
});
async function openTerminal(options: ITerminalOptions = {}): Promise<void> {