1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

chore: fix pty_complete_imports test (#16992)

This test doesn't run on the CI.
This commit is contained in:
David Sherret 2022-12-08 11:56:47 -05:00 committed by GitHub
parent 91443bbc0b
commit 01afb672e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();");