From 9268df5f3405103214b4e39d82e5ab1b465475a0 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Fri, 12 Jan 2024 02:35:55 +0530 Subject: fix(web): use rustyline for prompt (#21893) Workaround until https://github.com/kkawakam/rustyline/pull/759 --- cli/tests/testdata/run/066_prompt.ts | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cli/tests/testdata/run') diff --git a/cli/tests/testdata/run/066_prompt.ts b/cli/tests/testdata/run/066_prompt.ts index e3daa7ac0..f059be685 100644 --- a/cli/tests/testdata/run/066_prompt.ts +++ b/cli/tests/testdata/run/066_prompt.ts @@ -1,5 +1,3 @@ -const name0 = prompt("What is your name?", "Jane Doe"); // Answer John Doe -console.log(`Your name is ${name0}.`); const name1 = prompt("What is your name?", "Jane Doe"); // Answer with default console.log(`Your name is ${name1}.`); const input = prompt(); // Answer foo @@ -17,5 +15,3 @@ console.log(`Your answer is ${JSON.stringify(windows)}`); alert("Hi"); alert(); console.log("The end of test"); -const eof = prompt("What is EOF?"); -console.log(`Your answer is ${JSON.stringify(eof)}`); -- cgit v1.2.3