From b2e54bad61b37f3a186dd72237c694ada77ab94f Mon Sep 17 00:00:00 2001 From: Andy Hayden Date: Thu, 17 Jan 2019 10:08:59 -0800 Subject: Remove race-condition in file_server tests (denoland/deno_std#125) Original: https://github.com/denoland/deno_std/commit/e28c9a407951f10d952993ff6a7b248ca11243e1 --- examples/test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples') 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); -- cgit v1.2.3