summaryrefslogtreecommitdiff
path: root/cli/tests/integration_tests.rs
diff options
context:
space:
mode:
authorSander Hahn <sanderhahn@gmail.com>2020-10-29 18:35:58 +0100
committerGitHub <noreply@github.com>2020-10-29 18:35:58 +0100
commit1854c6f73be9d4439807911ce9cba1125af93dd4 (patch)
tree7c428c5a82bfb6982d10424fa395f14a678125d2 /cli/tests/integration_tests.rs
parent8d99adb6c481d1450b4b01dba5d7a193c51d71d1 (diff)
fix(cli): prompt works with windows eol and eof (#8149)
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r--cli/tests/integration_tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs
index 0bba369fe..895c64098 100644
--- a/cli/tests/integration_tests.rs
+++ b/cli/tests/integration_tests.rs
@@ -2185,7 +2185,7 @@ fn _066_prompt() {
let args = "run --unstable 066_prompt.ts";
let output = "066_prompt.ts.out";
// These are answers to prompt, confirm, and alert calls.
- let input = b"John Doe\n\nfoo\nY\nN\nyes\n\n\n\n";
+ let input = b"John Doe\n\nfoo\nY\nN\nyes\n\nwindows\r\n\n\n";
util::test_pty(args, output, input);
}