Skip to content

Commit

Permalink
test: fix file id. -1 doesn't work on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
cknight committed Feb 4, 2020
1 parent ac256c7 commit 722572e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/js/dispatch_minimal_test.ts
Expand Up @@ -16,7 +16,7 @@ const readErrorStackPattern = new RegExp(

test(async function sendAsyncStackTrace(): Promise<void> {
const buf = new Uint8Array(10);
await Deno.read(-1, buf)
await Deno.read(999999999999999, buf)
.then(unreachable)
.catch((error): void => {
assertMatch(error.stack, readErrorStackPattern);
Expand Down

0 comments on commit 722572e

Please sign in to comment.