From cf096eb9b20b9152fcbd7433b5be484b1c8aa38b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kr=C3=A6n=20Hansen?= Date: Mon, 7 Oct 2024 16:27:19 +0200 Subject: [PATCH] Trim input to writeInputLine --- packages/e2e-tests/test/test-shell.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/e2e-tests/test/test-shell.ts b/packages/e2e-tests/test/test-shell.ts index 5a42ea80a..589f1defe 100644 --- a/packages/e2e-tests/test/test-shell.ts +++ b/packages/e2e-tests/test/test-shell.ts @@ -287,7 +287,7 @@ export class TestShell { } writeInputLine(chars: string): void { - this.writeInput(`${chars}\n`); + this.writeInput(`${chars.trim()}\n`); } async executeLine(line: string): Promise {