mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 04:51:22 +00:00
Fix permission_prompt_test (#1509)
This commit is contained in:
parent
3b59323e42
commit
8ae178e9ce
@ -11,8 +11,15 @@ const test = {
|
||||
needsNet: () => {
|
||||
listen("tcp", "127.0.0.1:4540");
|
||||
},
|
||||
needsRun: () => {
|
||||
run({ args: ["python", "-c", "import sys; sys.stdout.write('hello')"] });
|
||||
needsRun: async () => {
|
||||
const process = run({
|
||||
args: [
|
||||
"python",
|
||||
"-c",
|
||||
"import sys; sys.stdout.write('hello'); sys.stdout.flush()"
|
||||
]
|
||||
});
|
||||
await process.status();
|
||||
}
|
||||
}[name];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user