Skip to content

Commit

Permalink
Apply fixes from denoland#599
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato authored and nayeemrmn committed Sep 21, 2019
1 parent 6532b51 commit 9614e1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion testing/runner_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ test(async function findTestModulesRemote(): Promise<void> {

test(async function findTestModulesLocal(): Promise<void> {
const urls = await findTestModules(
["fmt/*_test.ts"],
["*_test.ts"],
["colors*"],
TEST_ROOT_PATH
);
Expand Down
3 changes: 2 additions & 1 deletion xeval/test.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down Expand Up @@ -33,7 +34,7 @@ test(async function xevalCliReplvar(): Promise<void> {
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<void> {
Expand Down

0 comments on commit 9614e1d

Please sign in to comment.