mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
Fix permission_prompt_test (#1509)
This commit is contained in:
parent
3b59323e42
commit
8ae178e9ce
1 changed files with 9 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue