summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-12-08 11:56:47 -0500
committerGitHub <noreply@github.com>2022-12-08 16:56:47 +0000
commit01afb672e12c7ef3fe1cc09330aa26ca4a29b699 (patch)
tree2580e90bfa6880081034e6cfe8e05d5108494dd0
parent91443bbc0b3e5420d8a0b3506f1b18a88d48560a (diff)
chore: fix pty_complete_imports test (#16992)
This test doesn't run on the CI.
-rw-r--r--cli/tests/repl_tests.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/repl_tests.rs b/cli/tests/repl_tests.rs
index 4524b4097..d1af6d844 100644
--- a/cli/tests/repl_tests.rs
+++ b/cli/tests/repl_tests.rs
@@ -161,7 +161,7 @@ mod repl {
#[test]
fn pty_complete_imports() {
- util::with_pty(&["repl"], |mut console| {
+ util::with_pty(&["repl", "-A"], |mut console| {
// single quotes
console.write_line("import './run/001_hel\t'");
// double quotes
@@ -181,7 +181,7 @@ mod repl {
});
// ensure when the directory changes that the suggestions come from the cwd
- util::with_pty(&["repl"], |mut console| {
+ util::with_pty(&["repl", "-A"], |mut console| {
console.write_line("Deno.chdir('./subdir');");
console.write_line("import '../run/001_hel\t'");
console.write_line("close();");