diff options
Diffstat (limited to 'tests/testdata/run/warn_on_deprecated_api/mod.ts')
-rw-r--r-- | tests/testdata/run/warn_on_deprecated_api/mod.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/testdata/run/warn_on_deprecated_api/mod.ts b/tests/testdata/run/warn_on_deprecated_api/mod.ts new file mode 100644 index 000000000..f74632b2c --- /dev/null +++ b/tests/testdata/run/warn_on_deprecated_api/mod.ts @@ -0,0 +1,11 @@ +export async function runEcho() { + const p = Deno.run({ + cmd: [ + Deno.execPath(), + "eval", + "console.log('hello world')", + ], + }); + await p.status(); + p.close(); +} |