fix wrongly changed test case
This commit is contained in:
@@ -1231,8 +1231,8 @@ describe('EscapeSequenceParser', function (): void {
|
|||||||
parser2.setCsiHandler('m', () => order.push(1));
|
parser2.setCsiHandler('m', () => order.push(1));
|
||||||
parser2.addCsiHandler('m', () => { order.push(2); return false; });
|
parser2.addCsiHandler('m', () => { order.push(2); return false; });
|
||||||
parser2.addCsiHandler('m', () => { order.push(3); return false; });
|
parser2.addCsiHandler('m', () => { order.push(3); return false; });
|
||||||
parse(parser2, INPUT);
|
parse(parser2, '\x1b[0m');
|
||||||
chai.expect(order).eql([3, 2, 1, 3, 2, 1]);
|
chai.expect(order).eql([3, 2, 1]);
|
||||||
});
|
});
|
||||||
it('Dispose should work', () => {
|
it('Dispose should work', () => {
|
||||||
const csiCustom: [string, number[], string][] = [];
|
const csiCustom: [string, number[], string][] = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user