summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-04-02 12:57:05 +1100
committerGitHub <noreply@github.com>2024-04-02 12:57:05 +1100
commit858abbe745aa8188654120d4999ab983b014c197 (patch)
tree85b314b1e8166aaa9efb2ba1f416abfa00f0b7a8 /tests/unit
parentb0c1bd82a85ddb54ffe717a2c158c33c0be99fe8 (diff)
chore: update `std` submodule to 0.221.0 (#23112)
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/blob_test.ts2
-rw-r--r--tests/unit/buffer_test.ts2
-rw-r--r--tests/unit/files_test.ts2
-rw-r--r--tests/unit/tls_test.ts4
4 files changed, 5 insertions, 5 deletions
diff --git a/tests/unit/blob_test.ts b/tests/unit/blob_test.ts
index 8be6b5d46..b05b5fb7c 100644
--- a/tests/unit/blob_test.ts
+++ b/tests/unit/blob_test.ts
@@ -85,7 +85,7 @@ Deno.test(async function blobStream() {
const read = async (): Promise<void> => {
const { done, value } = await reader.read();
if (!done && value) {
- bytes = concat(bytes, value);
+ bytes = concat([bytes, value]);
return read();
}
};
diff --git a/tests/unit/buffer_test.ts b/tests/unit/buffer_test.ts
index 06fbef350..88c867c0a 100644
--- a/tests/unit/buffer_test.ts
+++ b/tests/unit/buffer_test.ts
@@ -11,7 +11,7 @@ import {
assertRejects,
assertThrows,
} from "./test_util.ts";
-import { writeAllSync } from "../util/std/streams/write_all.ts";
+import { writeAllSync } from "../util/std/io/write_all.ts";
const MAX_SIZE = 2 ** 32 - 2;
// N controls how many iterations of certain checks are performed.
diff --git a/tests/unit/files_test.ts b/tests/unit/files_test.ts
index 0034a8472..b25b2fd5d 100644
--- a/tests/unit/files_test.ts
+++ b/tests/unit/files_test.ts
@@ -8,7 +8,7 @@ import {
assertRejects,
assertThrows,
} from "./test_util.ts";
-import { copy } from "@std/streams/copy.ts";
+import { copy } from "@std/io/copy.ts";
// Note tests for Deno.FsFile.setRaw is in integration tests.
diff --git a/tests/unit/tls_test.ts b/tests/unit/tls_test.ts
index 1ac5e8d98..05fa904b2 100644
--- a/tests/unit/tls_test.ts
+++ b/tests/unit/tls_test.ts
@@ -8,8 +8,8 @@ import {
assertThrows,
} from "./test_util.ts";
import { BufReader, BufWriter } from "@std/io/mod.ts";
-import { readAll } from "@std/streams/read_all.ts";
-import { writeAll } from "@std/streams/write_all.ts";
+import { readAll } from "@std/io/read_all.ts";
+import { writeAll } from "@std/io/write_all.ts";
import { TextProtoReader } from "../testdata/run/textproto.ts";
const encoder = new TextEncoder();