feat(runtime): two-tier subprocess API (#11618)

This commit is contained in:
Leo Kettmeir 2022-04-21 00:20:33 +02:00 committed by GitHub
parent 8b25807054
commit 8a7539cab3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 1323 additions and 5 deletions

View file

@ -557,8 +557,9 @@ Deno.test(
const obj = JSON.parse(new TextDecoder().decode(await p.output()));
// can't check for object equality because the OS may set additional env vars for processes
// so we check if PATH isn't present as that is a common env var across OS's and isn't set for processes.
// can't check for object equality because the OS may set additional env
// vars for processes, so we check if PATH isn't present as that is a common
// env var across OS's and isn't set for processes.
assertEquals(obj.FOO, "23147");
assert(!("PATH" in obj));