summaryrefslogtreecommitdiff
path: root/tests/testdata
diff options
context:
space:
mode:
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);