summaryrefslogtreecommitdiff
path: root/cli/tests/unit/text_encoding_test.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-01-24 18:54:10 +0100
committerGitHub <noreply@github.com>2023-01-24 18:54:10 +0100
commitabd96105300a7729a4d8eb69af2e81dd6307a163 (patch)
tree75b7556f876b2a2df3e22b905922dfb11572ef6d /cli/tests/unit/text_encoding_test.ts
parent1084027d502d54ebf256c867fe85600b295d8a06 (diff)
refactor: remove Deno.core (#16881)
This commit removes "Deno.core" namespace. It is strictly private API that has no stability guarantees, we were supposed to remove it long time ago. Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Diffstat (limited to 'cli/tests/unit/text_encoding_test.ts')
-rw-r--r--cli/tests/unit/text_encoding_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/unit/text_encoding_test.ts b/cli/tests/unit/text_encoding_test.ts
index 78e4267a9..940dd9f74 100644
--- a/cli/tests/unit/text_encoding_test.ts
+++ b/cli/tests/unit/text_encoding_test.ts
@@ -264,8 +264,8 @@ Deno.test(function textEncoderShouldCoerceToString() {
});
Deno.test(function binaryEncode() {
- // @ts-ignore: Deno.core allowed
- const ops = Deno.core.ops;
+ // @ts-ignore: Deno[Deno.internal].core allowed
+ const ops = Deno[Deno.internal].core.ops;
function asBinaryString(bytes: Uint8Array): string {
return Array.from(bytes).map(
(v: number) => String.fromCodePoint(v),