From a472b6732dd37636b7b31128f53d3e6bcf531a73 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Sat, 28 Sep 2019 14:33:17 +0100 Subject: Test runner v2 (denoland/deno_std#604) Original: https://github.com/denoland/deno_std/commit/17a214bbd5b3a058a8126e9f7210992b1b52ba11 --- xeval/test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xeval') diff --git a/xeval/test.ts b/xeval/test.ts index 6b3e64ff4..f6dd70696 100644 --- a/xeval/test.ts +++ b/xeval/test.ts @@ -33,7 +33,7 @@ test(async function xevalCliReplvar(): Promise { await p.stdin!.write(encode("hello")); await p.stdin!.close(); assertEquals(await p.status(), { code: 0, success: true }); - assertEquals(decode(await p.output()), "hello\n"); + assertEquals(decode(await p.output()).trimEnd(), "hello"); }); test(async function xevalCliSyntaxError(): Promise { -- cgit v1.2.3