mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +00:00
chore: fix typos (#19572)
This commit is contained in:
parent
ad3c494b46
commit
801b9ec62d
83 changed files with 169 additions and 168 deletions
|
@ -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",
|
||||
);
|
||||
},
|
||||
});
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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(
|
||||
`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue