chore: fix typos (#19572)

This commit is contained in:
Martin Fischer 2023-06-26 15:10:27 +02:00 committed by GitHub
parent ad3c494b46
commit 801b9ec62d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
83 changed files with 169 additions and 168 deletions

View file

@ -215,7 +215,7 @@ Deno.test({
assertEquals(
Buffer.byteLength(Buffer.alloc(0)),
Buffer.alloc(0).byteLength,
"Byte lenght differs on buffers",
"Byte length differs on buffers",
);
},
});

View file

@ -288,7 +288,7 @@ Deno.test("[node/http] non-string buffer response", {
});
// TODO(kt3k): Enable this test
// Currently ImcomingMessage constructor has incompatible signature.
// Currently IncomingMessage constructor has incompatible signature.
/*
Deno.test("[node/http] http.IncomingMessage can be created without url", () => {
const message = new http.IncomingMessage(

View file

@ -103,7 +103,7 @@ Deno.test({
worker.postMessage("Hello, how are you my thread?");
assertEquals((await once(worker, "message"))[0], "I'm fine!");
const data = (await once(worker, "message"))[0];
// data.threadId can be 1 when this test is runned individually
// data.threadId can be 1 when this test is run individually
if (data.threadId === 1) data.threadId = 3;
assertObjectMatch(data, {
isMainThread: false,
@ -144,7 +144,7 @@ Deno.test({
});
Deno.test({
name: "[worker_threads] inheritences",
name: "[worker_threads] inheritances",
async fn() {
const worker = new workerThreads.Worker(
`