diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2022-01-20 16:10:16 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 16:10:16 +0900 |
commit | 4c1053ad33cad119569acca7d63f5544e025a880 (patch) | |
tree | b5a45e8ab0e92b84a1e1ac3b2c9cce958741e84c /cli/tests | |
parent | ee51c3ddd90f6f4e852a65895519768c8a815116 (diff) |
chore: update copyright year (#13434)
Diffstat (limited to 'cli/tests')
78 files changed, 78 insertions, 78 deletions
diff --git a/cli/tests/testdata/045_programmatic_proxy_client.ts b/cli/tests/testdata/045_programmatic_proxy_client.ts index cd6659978..039c6e9ae 100644 --- a/cli/tests/testdata/045_programmatic_proxy_client.ts +++ b/cli/tests/testdata/045_programmatic_proxy_client.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. const client = Deno.createHttpClient({ proxy: { diff --git a/cli/tests/testdata/045_proxy_client.ts b/cli/tests/testdata/045_proxy_client.ts index fe9129312..9d068bc48 100644 --- a/cli/tests/testdata/045_proxy_client.ts +++ b/cli/tests/testdata/045_proxy_client.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. const res = await fetch( "http://localhost:4545/045_mod.ts", ); diff --git a/cli/tests/testdata/045_proxy_test.ts b/cli/tests/testdata/045_proxy_test.ts index e185b04f0..d6edf2be9 100644 --- a/cli/tests/testdata/045_proxy_test.ts +++ b/cli/tests/testdata/045_proxy_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { Server } from "../../../test_util/std/http/server.ts"; import { assertEquals } from "../../../test_util/std/testing/asserts.ts"; diff --git a/cli/tests/testdata/compiler_api_test.ts b/cli/tests/testdata/compiler_api_test.ts index 41378f941..168d70ce6 100644 --- a/cli/tests/testdata/compiler_api_test.ts +++ b/cli/tests/testdata/compiler_api_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/testdata/websocket_test.ts b/cli/tests/testdata/websocket_test.ts index 5229ad875..1572e0e67 100644 --- a/cli/tests/testdata/websocket_test.ts +++ b/cli/tests/testdata/websocket_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/testdata/websocketstream_test.ts b/cli/tests/testdata/websocketstream_test.ts index b43b90139..254ffd479 100644 --- a/cli/tests/testdata/websocketstream_test.ts +++ b/cli/tests/testdata/websocketstream_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, diff --git a/cli/tests/testdata/workers/test.ts b/cli/tests/testdata/workers/test.ts index 43df417fb..bb9d56fe0 100644 --- a/cli/tests/testdata/workers/test.ts +++ b/cli/tests/testdata/workers/test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. // Requires to be run with `--allow-net` flag diff --git a/cli/tests/unit/blob_test.ts b/cli/tests/unit/blob_test.ts index f9f4598d1..15d96da44 100644 --- a/cli/tests/unit/blob_test.ts +++ b/cli/tests/unit/blob_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, assertStringIncludes } from "./test_util.ts"; import { concat } from "../../../test_util/std/bytes/mod.ts"; diff --git a/cli/tests/unit/body_test.ts b/cli/tests/unit/body_test.ts index a95487aa4..91acb1298 100644 --- a/cli/tests/unit/body_test.ts +++ b/cli/tests/unit/body_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals } from "./test_util.ts"; // just a hack to get a body object diff --git a/cli/tests/unit/broadcast_channel_test.ts b/cli/tests/unit/broadcast_channel_test.ts index 33a8aaba0..acdcd8afc 100644 --- a/cli/tests/unit/broadcast_channel_test.ts +++ b/cli/tests/unit/broadcast_channel_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "../../../test_util/std/testing/asserts.ts"; import { deferred } from "../../../test_util/std/async/deferred.ts"; diff --git a/cli/tests/unit/buffer_test.ts b/cli/tests/unit/buffer_test.ts index a94bb72b2..445c946e2 100644 --- a/cli/tests/unit/buffer_test.ts +++ b/cli/tests/unit/buffer_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file no-deprecated-deno-api diff --git a/cli/tests/unit/build_test.ts b/cli/tests/unit/build_test.ts index fe16a40d4..fcb0885bf 100644 --- a/cli/tests/unit/build_test.ts +++ b/cli/tests/unit/build_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert } from "./test_util.ts"; Deno.test(function buildInfo() { diff --git a/cli/tests/unit/chmod_test.ts b/cli/tests/unit/chmod_test.ts index f460e14c5..70ab62c84 100644 --- a/cli/tests/unit/chmod_test.ts +++ b/cli/tests/unit/chmod_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/chown_test.ts b/cli/tests/unit/chown_test.ts index e7544442a..7a282d68b 100644 --- a/cli/tests/unit/chown_test.ts +++ b/cli/tests/unit/chown_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertRejects, assertThrows } from "./test_util.ts"; // chown on Windows is noop for now, so ignore its testing on Windows diff --git a/cli/tests/unit/console_test.ts b/cli/tests/unit/console_test.ts index bdca0f8e4..539c717be 100644 --- a/cli/tests/unit/console_test.ts +++ b/cli/tests/unit/console_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. // TODO(ry) The unit test functions in this module are too coarse. They should // be broken up into smaller bits. diff --git a/cli/tests/unit/copy_file_test.ts b/cli/tests/unit/copy_file_test.ts index 8751291a8..e906e17fe 100644 --- a/cli/tests/unit/copy_file_test.ts +++ b/cli/tests/unit/copy_file_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertRejects, assertThrows } from "./test_util.ts"; function readFileString(filename: string | URL): string { diff --git a/cli/tests/unit/custom_event_test.ts b/cli/tests/unit/custom_event_test.ts index 94d4a30de..042a7447a 100644 --- a/cli/tests/unit/custom_event_test.ts +++ b/cli/tests/unit/custom_event_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "./test_util.ts"; Deno.test(function customEventInitializedWithDetail() { diff --git a/cli/tests/unit/dir_test.ts b/cli/tests/unit/dir_test.ts index 279b9133b..2f3f85270 100644 --- a/cli/tests/unit/dir_test.ts +++ b/cli/tests/unit/dir_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, assertThrows } from "./test_util.ts"; Deno.test({ permissions: { read: true } }, function dirCwdNotNull() { diff --git a/cli/tests/unit/error_stack_test.ts b/cli/tests/unit/error_stack_test.ts index 142fc3e53..e8d29569f 100644 --- a/cli/tests/unit/error_stack_test.ts +++ b/cli/tests/unit/error_stack_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, assertMatch } from "./test_util.ts"; Deno.test(function errorStackMessageLine() { diff --git a/cli/tests/unit/esnext_test.ts b/cli/tests/unit/esnext_test.ts index c6b3c07c2..4c3c88ac7 100644 --- a/cli/tests/unit/esnext_test.ts +++ b/cli/tests/unit/esnext_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals } from "./test_util.ts"; // TODO(@kitsonk) remove when we are no longer patching TypeScript to have diff --git a/cli/tests/unit/event_target_test.ts b/cli/tests/unit/event_target_test.ts index ef2868e94..dfc28605b 100644 --- a/cli/tests/unit/event_target_test.ts +++ b/cli/tests/unit/event_target_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file no-window-prefix import { assertEquals } from "./test_util.ts"; diff --git a/cli/tests/unit/event_test.ts b/cli/tests/unit/event_test.ts index e5a58c7a6..5c82e6823 100644 --- a/cli/tests/unit/event_test.ts +++ b/cli/tests/unit/event_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, assertStringIncludes } from "./test_util.ts"; Deno.test(function eventInitializedWithType() { diff --git a/cli/tests/unit/fetch_test.ts b/cli/tests/unit/fetch_test.ts index cbd0139a3..938df119d 100644 --- a/cli/tests/unit/fetch_test.ts +++ b/cli/tests/unit/fetch_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/ffi_test.ts b/cli/tests/unit/ffi_test.ts index fe1ab202f..b7772e8e2 100644 --- a/cli/tests/unit/ffi_test.ts +++ b/cli/tests/unit/ffi_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assertThrows } from "./test_util.ts"; diff --git a/cli/tests/unit/file_test.ts b/cli/tests/unit/file_test.ts index 6a2c5d461..8159e898c 100644 --- a/cli/tests/unit/file_test.ts +++ b/cli/tests/unit/file_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals } from "./test_util.ts"; // deno-lint-ignore no-explicit-any diff --git a/cli/tests/unit/filereader_test.ts b/cli/tests/unit/filereader_test.ts index 3d49b20b5..651cb4e96 100644 --- a/cli/tests/unit/filereader_test.ts +++ b/cli/tests/unit/filereader_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "./test_util.ts"; Deno.test(function fileReaderConstruct() { diff --git a/cli/tests/unit/files_test.ts b/cli/tests/unit/files_test.ts index 9e9c320b2..3e30fed9a 100644 --- a/cli/tests/unit/files_test.ts +++ b/cli/tests/unit/files_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file no-deprecated-deno-api diff --git a/cli/tests/unit/flock_test.ts b/cli/tests/unit/flock_test.ts index 8c62c6abc..8ebda3f6c 100644 --- a/cli/tests/unit/flock_test.ts +++ b/cli/tests/unit/flock_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "./test_util.ts"; import { readAll } from "../../../test_util/std/io/util.ts"; diff --git a/cli/tests/unit/format_error_test.ts b/cli/tests/unit/format_error_test.ts index 1a956e25c..5c9520535 100644 --- a/cli/tests/unit/format_error_test.ts +++ b/cli/tests/unit/format_error_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert } from "./test_util.ts"; Deno.test(function formatDiagnosticBasic() { diff --git a/cli/tests/unit/get_random_values_test.ts b/cli/tests/unit/get_random_values_test.ts index ca3986ded..4df22f697 100644 --- a/cli/tests/unit/get_random_values_test.ts +++ b/cli/tests/unit/get_random_values_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assertNotEquals, assertStrictEquals } from "./test_util.ts"; Deno.test(function getRandomValuesInt8Array() { diff --git a/cli/tests/unit/globals_test.ts b/cli/tests/unit/globals_test.ts index fccf65ce3..8957dde20 100644 --- a/cli/tests/unit/globals_test.ts +++ b/cli/tests/unit/globals_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. // deno-lint-ignore-file no-window-prefix import { assert } from "./test_util.ts"; diff --git a/cli/tests/unit/headers_test.ts b/cli/tests/unit/headers_test.ts index 9fad3628d..9db8a4862 100644 --- a/cli/tests/unit/headers_test.ts +++ b/cli/tests/unit/headers_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals } from "./test_util.ts"; const { inspectArgs, diff --git a/cli/tests/unit/http_test.ts b/cli/tests/unit/http_test.ts index 4d1ad4ab6..75e0d5505 100644 --- a/cli/tests/unit/http_test.ts +++ b/cli/tests/unit/http_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { Buffer, BufReader, diff --git a/cli/tests/unit/internals_test.ts b/cli/tests/unit/internals_test.ts index f96f25192..7006feb06 100644 --- a/cli/tests/unit/internals_test.ts +++ b/cli/tests/unit/internals_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert } from "./test_util.ts"; Deno.test(function internalsExists() { diff --git a/cli/tests/unit/io_test.ts b/cli/tests/unit/io_test.ts index ac6c9e209..d238b89c4 100644 --- a/cli/tests/unit/io_test.ts +++ b/cli/tests/unit/io_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "./test_util.ts"; import { Buffer } from "../../../test_util/std/io/buffer.ts"; diff --git a/cli/tests/unit/link_test.ts b/cli/tests/unit/link_test.ts index 36e30f3ba..6f9c42039 100644 --- a/cli/tests/unit/link_test.ts +++ b/cli/tests/unit/link_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/make_temp_test.ts b/cli/tests/unit/make_temp_test.ts index c7d8aa252..ac48579f5 100644 --- a/cli/tests/unit/make_temp_test.ts +++ b/cli/tests/unit/make_temp_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/message_channel_test.ts b/cli/tests/unit/message_channel_test.ts index 2c6062658..56bf0a727 100644 --- a/cli/tests/unit/message_channel_test.ts +++ b/cli/tests/unit/message_channel_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. // NOTE: these are just sometests to test the TypeScript types. Real coverage is // provided by WPT. import { diff --git a/cli/tests/unit/metrics_test.ts b/cli/tests/unit/metrics_test.ts index 00dc06a20..dc103f829 100644 --- a/cli/tests/unit/metrics_test.ts +++ b/cli/tests/unit/metrics_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert } from "./test_util.ts"; Deno.test(async function metrics() { diff --git a/cli/tests/unit/mkdir_test.ts b/cli/tests/unit/mkdir_test.ts index 327665ee8..d1f813025 100644 --- a/cli/tests/unit/mkdir_test.ts +++ b/cli/tests/unit/mkdir_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/navigator_test.ts b/cli/tests/unit/navigator_test.ts index 898042d88..696b30dd4 100644 --- a/cli/tests/unit/navigator_test.ts +++ b/cli/tests/unit/navigator_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert } from "./test_util.ts"; Deno.test(function navigatorNumCpus() { diff --git a/cli/tests/unit/net_test.ts b/cli/tests/unit/net_test.ts index 578820dda..79b83f854 100644 --- a/cli/tests/unit/net_test.ts +++ b/cli/tests/unit/net_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/os_test.ts b/cli/tests/unit/os_test.ts index 430b25fab..bd6bc5747 100644 --- a/cli/tests/unit/os_test.ts +++ b/cli/tests/unit/os_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/performance_test.ts b/cli/tests/unit/performance_test.ts index 7237df3e7..4c7d08d4e 100644 --- a/cli/tests/unit/performance_test.ts +++ b/cli/tests/unit/performance_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/permissions_test.ts b/cli/tests/unit/permissions_test.ts index 723f17ebf..006bad249 100644 --- a/cli/tests/unit/permissions_test.ts +++ b/cli/tests/unit/permissions_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/process_test.ts b/cli/tests/unit/process_test.ts index 23ac66bb9..3ef19a879 100644 --- a/cli/tests/unit/process_test.ts +++ b/cli/tests/unit/process_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/progressevent_test.ts b/cli/tests/unit/progressevent_test.ts index 271180d88..f6068e1a0 100644 --- a/cli/tests/unit/progressevent_test.ts +++ b/cli/tests/unit/progressevent_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "./test_util.ts"; Deno.test(function progressEventConstruct() { diff --git a/cli/tests/unit/read_dir_test.ts b/cli/tests/unit/read_dir_test.ts index 58e4c4d2d..fecddd6c4 100644 --- a/cli/tests/unit/read_dir_test.ts +++ b/cli/tests/unit/read_dir_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/read_file_test.ts b/cli/tests/unit/read_file_test.ts index 4b1ebef0b..1f3eea30a 100644 --- a/cli/tests/unit/read_file_test.ts +++ b/cli/tests/unit/read_file_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { writeAllSync } from "../../../test_util/std/io/util.ts"; import { assert, diff --git a/cli/tests/unit/read_link_test.ts b/cli/tests/unit/read_link_test.ts index 6946c00f5..8bd7661f2 100644 --- a/cli/tests/unit/read_link_test.ts +++ b/cli/tests/unit/read_link_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertRejects, diff --git a/cli/tests/unit/real_path_test.ts b/cli/tests/unit/real_path_test.ts index c9e64e16f..2dfb5d214 100644 --- a/cli/tests/unit/real_path_test.ts +++ b/cli/tests/unit/real_path_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/remove_test.ts b/cli/tests/unit/remove_test.ts index 69ba4de8f..04e50f39d 100644 --- a/cli/tests/unit/remove_test.ts +++ b/cli/tests/unit/remove_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertRejects, assertThrows } from "./test_util.ts"; const REMOVE_METHODS = ["remove", "removeSync"] as const; diff --git a/cli/tests/unit/rename_test.ts b/cli/tests/unit/rename_test.ts index 49a572a01..6d200e9c5 100644 --- a/cli/tests/unit/rename_test.ts +++ b/cli/tests/unit/rename_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/request_test.ts b/cli/tests/unit/request_test.ts index b4f20a202..41a1d7e2f 100644 --- a/cli/tests/unit/request_test.ts +++ b/cli/tests/unit/request_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertStringIncludes } from "./test_util.ts"; Deno.test(async function fromInit() { diff --git a/cli/tests/unit/resources_test.ts b/cli/tests/unit/resources_test.ts index fffd940db..08fbfafc4 100644 --- a/cli/tests/unit/resources_test.ts +++ b/cli/tests/unit/resources_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, assertThrows } from "./test_util.ts"; Deno.test(function resourcesCloseBadArgs() { diff --git a/cli/tests/unit/response_test.ts b/cli/tests/unit/response_test.ts index 3d3fc07ef..c46218b62 100644 --- a/cli/tests/unit/response_test.ts +++ b/cli/tests/unit/response_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/signal_test.ts b/cli/tests/unit/signal_test.ts index b67dc9668..12c5046a5 100644 --- a/cli/tests/unit/signal_test.ts +++ b/cli/tests/unit/signal_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertThrows, deferred, delay } from "./test_util.ts"; Deno.test( diff --git a/cli/tests/unit/stat_test.ts b/cli/tests/unit/stat_test.ts index 2ed3dd3b3..f39b3be2c 100644 --- a/cli/tests/unit/stat_test.ts +++ b/cli/tests/unit/stat_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/stdio_test.ts b/cli/tests/unit/stdio_test.ts index 52cda3b8b..cecb3cfb5 100644 --- a/cli/tests/unit/stdio_test.ts +++ b/cli/tests/unit/stdio_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "./test_util.ts"; Deno.test(async function stdioStdinRead() { diff --git a/cli/tests/unit/streams_deprecated.ts b/cli/tests/unit/streams_deprecated.ts index a3c81777d..892ce39ad 100644 --- a/cli/tests/unit/streams_deprecated.ts +++ b/cli/tests/unit/streams_deprecated.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "./test_util.ts"; Deno.test(async function symlinkSyncPerm() { diff --git a/cli/tests/unit/symlink_test.ts b/cli/tests/unit/symlink_test.ts index 47aecacc8..16254b9b4 100644 --- a/cli/tests/unit/symlink_test.ts +++ b/cli/tests/unit/symlink_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertRejects, diff --git a/cli/tests/unit/sync_test.ts b/cli/tests/unit/sync_test.ts index 4e01000ad..49afe464a 100644 --- a/cli/tests/unit/sync_test.ts +++ b/cli/tests/unit/sync_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "./test_util.ts"; Deno.test( diff --git a/cli/tests/unit/test_util.ts b/cli/tests/unit/test_util.ts index 85c59717c..3591864d4 100644 --- a/cli/tests/unit/test_util.ts +++ b/cli/tests/unit/test_util.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import * as colors from "../../../test_util/std/fmt/colors.ts"; export { colors }; diff --git a/cli/tests/unit/testing_test.ts b/cli/tests/unit/testing_test.ts index 7aa55e2c1..87b862a7d 100644 --- a/cli/tests/unit/testing_test.ts +++ b/cli/tests/unit/testing_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assertRejects, assertThrows } from "./test_util.ts"; Deno.test(function testWrongOverloads() { diff --git a/cli/tests/unit/text_encoding_test.ts b/cli/tests/unit/text_encoding_test.ts index f8bc4395b..70942d98d 100644 --- a/cli/tests/unit/text_encoding_test.ts +++ b/cli/tests/unit/text_encoding_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, assertThrows } from "./test_util.ts"; Deno.test(function btoaSuccess() { diff --git a/cli/tests/unit/timers_test.ts b/cli/tests/unit/timers_test.ts index ec9b6f757..7312a6440 100644 --- a/cli/tests/unit/timers_test.ts +++ b/cli/tests/unit/timers_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/tls_test.ts b/cli/tests/unit/tls_test.ts index 7e6d68900..4b3dba082 100644 --- a/cli/tests/unit/tls_test.ts +++ b/cli/tests/unit/tls_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/truncate_test.ts b/cli/tests/unit/truncate_test.ts index f7819fcd9..0b5e804e8 100644 --- a/cli/tests/unit/truncate_test.ts +++ b/cli/tests/unit/truncate_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertRejects, assertThrows } from "./test_util.ts"; Deno.test( diff --git a/cli/tests/unit/tty_test.ts b/cli/tests/unit/tty_test.ts index dd492aa36..9feacdf51 100644 --- a/cli/tests/unit/tty_test.ts +++ b/cli/tests/unit/tty_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertThrows } from "./test_util.ts"; // Note tests for Deno.setRaw is in integration tests. diff --git a/cli/tests/unit/umask_test.ts b/cli/tests/unit/umask_test.ts index 5f981bf7e..384ce3ec5 100644 --- a/cli/tests/unit/umask_test.ts +++ b/cli/tests/unit/umask_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assertEquals } from "./test_util.ts"; Deno.test( diff --git a/cli/tests/unit/url_search_params_test.ts b/cli/tests/unit/url_search_params_test.ts index 702567668..63c45d5ac 100644 --- a/cli/tests/unit/url_search_params_test.ts +++ b/cli/tests/unit/url_search_params_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals } from "./test_util.ts"; Deno.test(function urlSearchParamsWithMultipleSpaces() { diff --git a/cli/tests/unit/url_test.ts b/cli/tests/unit/url_test.ts index 1ade4a748..3d4e1aa2c 100644 --- a/cli/tests/unit/url_test.ts +++ b/cli/tests/unit/url_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, diff --git a/cli/tests/unit/urlpattern_test.ts b/cli/tests/unit/urlpattern_test.ts index 5d39afe6c..b29352c14 100644 --- a/cli/tests/unit/urlpattern_test.ts +++ b/cli/tests/unit/urlpattern_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals } from "./test_util.ts"; Deno.test(function urlPatternFromString() { diff --git a/cli/tests/unit/utime_test.ts b/cli/tests/unit/utime_test.ts index b96ed1cf8..cfd757535 100644 --- a/cli/tests/unit/utime_test.ts +++ b/cli/tests/unit/utime_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assertEquals, assertRejects, diff --git a/cli/tests/unit/websocket_test.ts b/cli/tests/unit/websocket_test.ts index a2e72d4ea..f033c5ac4 100644 --- a/cli/tests/unit/websocket_test.ts +++ b/cli/tests/unit/websocket_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assertThrows } from "./test_util.ts"; Deno.test({ permissions: "none" }, function websocketPermissionless() { diff --git a/cli/tests/unit/worker_permissions_test.ts b/cli/tests/unit/worker_permissions_test.ts index 5725f339c..145862402 100644 --- a/cli/tests/unit/worker_permissions_test.ts +++ b/cli/tests/unit/worker_permissions_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assertEquals, deferred } from "./test_util.ts"; Deno.test( diff --git a/cli/tests/unit/worker_types.ts b/cli/tests/unit/worker_types.ts index 1ba603796..9e32db3d1 100644 --- a/cli/tests/unit/worker_types.ts +++ b/cli/tests/unit/worker_types.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert } from "./test_util.ts"; Deno.test( diff --git a/cli/tests/unit/write_file_test.ts b/cli/tests/unit/write_file_test.ts index b6f7d2cee..b46502eef 100644 --- a/cli/tests/unit/write_file_test.ts +++ b/cli/tests/unit/write_file_test.ts @@ -1,4 +1,4 @@ -// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals, |