diff options
Diffstat (limited to 'cli')
-rw-r--r-- | cli/bench/deno_tcp.ts | 2 | ||||
-rw-r--r-- | cli/tests/unit/buffer_test.ts | 4 | ||||
-rw-r--r-- | cli/tests/unit/chown_test.ts | 4 | ||||
-rw-r--r-- | cli/tests/unit/files_test.ts | 8 |
4 files changed, 9 insertions, 9 deletions
diff --git a/cli/bench/deno_tcp.ts b/cli/bench/deno_tcp.ts index a800a52a0..e6ee4e239 100644 --- a/cli/bench/deno_tcp.ts +++ b/cli/bench/deno_tcp.ts @@ -1,6 +1,6 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. // Used for benchmarking Deno's networking. -// TODO Replace this with a real HTTP server once +// TODO(bartlomieju): Replace this with a real HTTP server once // https://github.com/denoland/deno/issues/726 is completed. // Note: this is a keep-alive server. const addr = Deno.args[0] || "127.0.0.1:4500"; diff --git a/cli/tests/unit/buffer_test.ts b/cli/tests/unit/buffer_test.ts index 54ab139c9..ed3698bc1 100644 --- a/cli/tests/unit/buffer_test.ts +++ b/cli/tests/unit/buffer_test.ts @@ -128,8 +128,8 @@ unitTest(async function bufferBasicOperations(): Promise<void> { await empty(buf, testString.slice(0, 20), new Uint8Array(5)); await empty(buf, "", new Uint8Array(100)); - // TODO buf.writeByte() - // TODO buf.readByte() + // TODO(bartlomieju): buf.writeByte() + // TODO(bartlomieju): buf.readByte() } }); diff --git a/cli/tests/unit/chown_test.ts b/cli/tests/unit/chown_test.ts index 8181225e3..2fac679ce 100644 --- a/cli/tests/unit/chown_test.ts +++ b/cli/tests/unit/chown_test.ts @@ -96,7 +96,7 @@ unitTest( unitTest( { perms: { run: true, write: true }, ignore: Deno.build.os == "windows" }, async function chownSyncSucceed(): Promise<void> { - // TODO: when a file's owner is actually being changed, + // TODO(bartlomieju): when a file's owner is actually being changed, // chown only succeeds if run under priviledged user (root) // The test script has no such privilege, so need to find a better way to test this case const { uid, gid } = await getUidAndGid(); @@ -152,7 +152,7 @@ unitTest( unitTest( { perms: { run: true, write: true }, ignore: Deno.build.os == "windows" }, async function chownWithUrl(): Promise<void> { - // TODO: same as chownSyncSucceed + // TODO(bartlomieju): same as chownSyncSucceed const { uid, gid } = await getUidAndGid(); const enc = new TextEncoder(); diff --git a/cli/tests/unit/files_test.ts b/cli/tests/unit/files_test.ts index 1b6a99e8e..152068004 100644 --- a/cli/tests/unit/files_test.ts +++ b/cli/tests/unit/files_test.ts @@ -322,7 +322,7 @@ unitTest( // deno-lint-ignore no-explicit-any await file.write(null as any); }, - ); // TODO: Check error kind when dispatch_minimal pipes errors properly + ); // TODO(bartlomieju): Check error kind when dispatch_minimal pipes errors properly file.close(); await Deno.remove(tempDir, { recursive: true }); }, @@ -349,7 +349,7 @@ unitTest( // deno-lint-ignore no-explicit-any await file.read(null as any); }, TypeError); - // TODO: Check error kind when dispatch_minimal pipes errors properly + // TODO(bartlomieju): Check error kind when dispatch_minimal pipes errors properly file.close(); await Deno.remove(tempDir, { recursive: true }); @@ -382,7 +382,7 @@ unitTest( assert(fileInfo.size === 5); f.close(); - // TODO: test different modes + // TODO(bartlomieju): test different modes await Deno.remove(tempDir, { recursive: true }); }, ); @@ -425,7 +425,7 @@ unitTest( assert(fileInfo.size === 5); f.close(); - // TODO: test different modes + // TODO(bartlomieju): test different modes await Deno.remove(tempDir, { recursive: true }); }, ); |