Skip to content

Commit 232a8ec

Browse files
committed
Trim input to writeInputLine
1 parent 49c8443 commit 232a8ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/e2e-tests/test/test-shell.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ export class TestShell {
287287
}
288288

289289
writeInputLine(chars: string): void {
290-
this.writeInput(`${chars}\n`);
290+
this.writeInput(`${chars.trim()}\n`);
291291
}
292292

293293
async executeLine(line: string): Promise<string> {

0 commit comments

Comments
 (0)