diff --git a/testing/runner_test.ts b/testing/runner_test.ts index ae9ec019aa0e..1ced54923337 100644 --- a/testing/runner_test.ts +++ b/testing/runner_test.ts @@ -22,7 +22,7 @@ test(async function findTestModulesRemote(): Promise { test(async function findTestModulesLocal(): Promise { const urls = await findTestModules( - ["fmt/*_test.ts"], + ["*_test.ts"], ["colors*"], TEST_ROOT_PATH ); diff --git a/xeval/test.ts b/xeval/test.ts index 6b3e64ff4067..39550e0f5044 100644 --- a/xeval/test.ts +++ b/xeval/test.ts @@ -1,4 +1,5 @@ import { xeval } from "./mod.ts"; +import { EOL } from "../fs/path/constants.ts"; import { stringsReader } from "../io/util.ts"; import { decode, encode } from "../strings/mod.ts"; import { assertEquals, assertStrContains } from "../testing/asserts.ts"; @@ -33,7 +34,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()), `hello${EOL}`); }); test(async function xevalCliSyntaxError(): Promise {