summaryrefslogtreecommitdiff
path: root/tests/testdata
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/testdata
parentb0c1bd82a85ddb54ffe717a2c158c33c0be99fe8 (diff)
chore: update `std` submodule to 0.221.0 (#23112)
Diffstat (limited to 'tests/testdata')
-rw-r--r--tests/testdata/echo_server.ts2
-rw-r--r--tests/testdata/run/textproto.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/testdata/echo_server.ts b/tests/testdata/echo_server.ts
index cbf081c35..9352e0634 100644
--- a/tests/testdata/echo_server.ts
+++ b/tests/testdata/echo_server.ts
@@ -1,4 +1,4 @@
-import { copy } from "../../tests/util/std/streams/copy.ts";
+import { copy } from "../../tests/util/std/io/copy.ts";
const addr = Deno.args[0] || "0.0.0.0:4544";
const [hostname, port] = addr.split(":");
const listener = Deno.listen({ hostname, port: Number(port) });
diff --git a/tests/testdata/run/textproto.ts b/tests/testdata/run/textproto.ts
index 7297fc446..f35ab6734 100644
--- a/tests/testdata/run/textproto.ts
+++ b/tests/testdata/run/textproto.ts
@@ -152,7 +152,7 @@ export class TextProtoReader {
//TODO(SmashingQuasar): Kept skipSpace to preserve behavior but it should be looked into to check if it makes sense when this is used.
if (r !== null && this.skipSpace(r.line) !== 0) {
- line = concat(line, r.line);
+ line = concat([line, r.line]);
}
} while (r !== null && r.more);