summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/test.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/test.ts b/examples/test.ts
index f42db1bba..8d16e1703 100644
--- a/examples/test.ts
+++ b/examples/test.ts
@@ -13,7 +13,8 @@ test(function t2() {
/** A more complicated test that runs a subprocess. */
test(async function catSmoke() {
const p = run({
- args: ["deno", "examples/cat.ts", "README.md"]
+ args: ["deno", "examples/cat.ts", "README.md"],
+ stdout: "piped"
});
const s = await p.status();
assertEqual(s.code, 0);