Fix unit test calling eraseInDisplay instead of eraseInLine

This commit is contained in:
Simon Lamon
2021-11-01 15:42:01 +00:00
parent 086ac39095
commit 47e53cbdaa
+1 -1
View File
@@ -433,7 +433,7 @@ describe('InputHandler', () => {
await resetToBaseState();
bufferService.buffer.y = 2;
bufferService.buffer.x = 40;
inputHandler.eraseInDisplay(Params.fromArray([2]));
inputHandler.eraseInLine(Params.fromArray([2]));
assert.equal(bufferService.buffer.lines.get(2)!.isWrapped, false);
});
it('eraseInDisplay', async () => {