diff options
| author | Divy Srivastava <dj.srivastava23@gmail.com> | 2024-01-12 02:35:55 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-11 22:05:55 +0100 |
| commit | 9268df5f3405103214b4e39d82e5ab1b465475a0 (patch) | |
| tree | 76336155130a2e751a9509df370d0060020473ac /cli/tests/testdata | |
| parent | d8f86c8b9cf327db4d246c20cf60467cafe2ba64 (diff) | |
fix(web): use rustyline for prompt (#21893)
Workaround until https://github.com/kkawakam/rustyline/pull/759
Diffstat (limited to 'cli/tests/testdata')
| -rw-r--r-- | cli/tests/testdata/run/066_prompt.ts | 4 |
1 files changed, 0 insertions, 4 deletions
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)}`); |
