Use dprint for internal formatting (#6682)

This commit is contained in:
David Sherret 2020-07-14 15:24:17 -04:00 committed by GitHub
parent 9eca71caa1
commit cde4dbb351
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
378 changed files with 3116 additions and 3121 deletions

View file

@ -44,7 +44,7 @@ Deno.test({
process.chdir("non-existent-directory-name");
},
Deno.errors.NotFound,
"file"
"file",
// On every OS Deno returns: "No such file" except for Windows, where it's:
// "The system cannot find the file specified. (os error 2)" so "file" is
// the only common string here.
@ -95,7 +95,7 @@ Deno.test({
process.on("uncaughtException", (_err: Error) => {});
},
Error,
"implemented"
"implemented",
);
},
});
@ -107,7 +107,7 @@ Deno.test({
assert(Array.isArray(argv));
assert(
process.argv[0].match(/[^/\\]*deno[^/\\]*$/),
"deno included in the file name of argv[0]"
"deno included in the file name of argv[0]",
);
// we cannot test for anything else (we see test runner arguments here)
},