summaryrefslogtreecommitdiff
path: root/tests/unit_node/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit_node/crypto')
-rw-r--r--tests/unit_node/crypto/crypto_cipher_gcm_test.ts2
-rw-r--r--tests/unit_node/crypto/crypto_cipher_test.ts2
-rw-r--r--tests/unit_node/crypto/crypto_hash_test.ts2
-rw-r--r--tests/unit_node/crypto/crypto_key_test.ts2
-rw-r--r--tests/unit_node/crypto/crypto_sign_test.ts2
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/unit_node/crypto/crypto_cipher_gcm_test.ts b/tests/unit_node/crypto/crypto_cipher_gcm_test.ts
index b7b616546..57e40d2ac 100644
--- a/tests/unit_node/crypto/crypto_cipher_gcm_test.ts
+++ b/tests/unit_node/crypto/crypto_cipher_gcm_test.ts
@@ -4,7 +4,7 @@ import crypto from "node:crypto";
import { Buffer } from "node:buffer";
import testVectors128 from "./gcmEncryptExtIV128.json" assert { type: "json" };
import testVectors256 from "./gcmEncryptExtIV256.json" assert { type: "json" };
-import { assertEquals } from "@test_util/std/assert/mod.ts";
+import { assertEquals } from "@std/assert/mod.ts";
const aesGcm = (bits: string, key: Uint8Array) => {
const ALGO = bits == "128" ? `aes-128-gcm` : `aes-256-gcm`;
diff --git a/tests/unit_node/crypto/crypto_cipher_test.ts b/tests/unit_node/crypto/crypto_cipher_test.ts
index 3da7ae3f1..d22028624 100644
--- a/tests/unit_node/crypto/crypto_cipher_test.ts
+++ b/tests/unit_node/crypto/crypto_cipher_test.ts
@@ -3,7 +3,7 @@ import crypto from "node:crypto";
import { Buffer } from "node:buffer";
import { Readable } from "node:stream";
import { buffer, text } from "node:stream/consumers";
-import { assertEquals, assertThrows } from "@test_util/std/assert/mod.ts";
+import { assertEquals, assertThrows } from "@std/assert/mod.ts";
const rsaPrivateKey = Deno.readTextFileSync(
new URL("../testdata/rsa_private.pem", import.meta.url),
diff --git a/tests/unit_node/crypto/crypto_hash_test.ts b/tests/unit_node/crypto/crypto_hash_test.ts
index ff1c9c598..74223067e 100644
--- a/tests/unit_node/crypto/crypto_hash_test.ts
+++ b/tests/unit_node/crypto/crypto_hash_test.ts
@@ -8,7 +8,7 @@ import {
} from "node:crypto";
import { Buffer } from "node:buffer";
import { Readable } from "node:stream";
-import { assert, assertEquals } from "@test_util/std/assert/mod.ts";
+import { assert, assertEquals } from "@std/assert/mod.ts";
// https://github.com/denoland/deno/issues/18140
Deno.test({
diff --git a/tests/unit_node/crypto/crypto_key_test.ts b/tests/unit_node/crypto/crypto_key_test.ts
index 8d1b24b21..c8724d284 100644
--- a/tests/unit_node/crypto/crypto_key_test.ts
+++ b/tests/unit_node/crypto/crypto_key_test.ts
@@ -11,7 +11,7 @@ import {
} from "node:crypto";
import { promisify } from "node:util";
import { Buffer } from "node:buffer";
-import { assertEquals, assertThrows } from "@test_util/std/assert/mod.ts";
+import { assertEquals, assertThrows } from "@std/assert/mod.ts";
import { createHmac } from "node:crypto";
const RUN_SLOW_TESTS = Deno.env.get("SLOW_TESTS") === "1";
diff --git a/tests/unit_node/crypto/crypto_sign_test.ts b/tests/unit_node/crypto/crypto_sign_test.ts
index 287b54cc1..be459bf52 100644
--- a/tests/unit_node/crypto/crypto_sign_test.ts
+++ b/tests/unit_node/crypto/crypto_sign_test.ts
@@ -1,6 +1,6 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
-import { assert, assertEquals } from "@test_util/std/testing/asserts.ts";
+import { assert, assertEquals } from "@std/testing/asserts.ts";
import { createSign, createVerify, sign, verify } from "node:crypto";
import { Buffer } from "node:buffer";