summaryrefslogtreecommitdiff
path: root/examples/test.ts
diff options
context:
space:
mode:
authorAndy Hayden <andyhayden1@gmail.com>2019-01-17 10:08:59 -0800
committerRyan Dahl <ry@tinyclouds.org>2019-01-17 13:08:59 -0500
commitb2e54bad61b37f3a186dd72237c694ada77ab94f (patch)
treebc30bea78e49fe9c854be93e0509aabc76f77392 /examples/test.ts
parent811128864c4db40409c5c5538b56466e4f4e704c (diff)
Remove race-condition in file_server tests (denoland/deno_std#125)
Original: https://github.com/denoland/deno_std/commit/e28c9a407951f10d952993ff6a7b248ca11243e1
Diffstat (limited to 'examples/test.ts')
-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);