1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-22 06:09:25 -05:00

chore(tests): remove pty_complete_imports test for deleting the cwd (#13164)

This commit is contained in:
David Sherret 2021-12-21 12:21:07 -05:00 committed by GitHub
parent aca41a472a
commit ac06797fa8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -146,18 +146,6 @@ fn pty_complete_imports() {
let output = console.read_all_output();
assert!(output.contains("Hello World"));
});
// ensure nothing too bad happens when deleting the cwd
util::with_pty(&["repl"], |mut console| {
console.write_line("Deno.mkdirSync('./temp-repl-lsp-dir');");
console.write_line("Deno.chdir('./temp-repl-lsp-dir');");
console.write_line("Deno.removeSync('../temp-repl-lsp-dir');");
console.write_line("import '../001_hello\t'");
console.write_line("close();");
let output = console.read_all_output();
assert!(output.contains("Hello World"));
});
}
#[test]