Skip to content

Commit

Permalink
Update tests for process
Browse files Browse the repository at this point in the history
  • Loading branch information
rsp committed Nov 18, 2019
1 parent 8405762 commit 37bb133
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions std/node/process_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ test({
name: "process.argv",
fn() {
assert(Array.isArray(process.argv));
assert(process.argv[0].match(/[^/\\]*deno[^/\\]*$/));
assert(process.argv.slice(-1)[0].match(/process_test[.]ts$/));
assert(process.argv.filter(x => x.match(/[^/\\]*deno[^/\\]*$/)).length > 0);
assert(process.argv.filter(x => x.match(/process_test[.]ts$/)).length > 0);
}
});

Expand Down

0 comments on commit 37bb133

Please sign in to comment.