summaryrefslogtreecommitdiff
path: root/cli/tests/unit/flash_test.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-10-17 18:57:31 -0400
committerGitHub <noreply@github.com>2022-10-17 22:57:31 +0000
commit74be01273c16b83b1063da1750045b12e095f0c3 (patch)
treea58a74664bb06524d82c55360cca03afac9649cd /cli/tests/unit/flash_test.ts
parent204c46dcc1dc5d77ecbe4bb0c4b131a5110885bc (diff)
chore: upgrade internal deno_std to 0.160 (#16333)
Diffstat (limited to 'cli/tests/unit/flash_test.ts')
-rw-r--r--cli/tests/unit/flash_test.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/tests/unit/flash_test.ts b/cli/tests/unit/flash_test.ts
index a5a31a136..375fdb8f3 100644
--- a/cli/tests/unit/flash_test.ts
+++ b/cli/tests/unit/flash_test.ts
@@ -7,7 +7,7 @@ import {
BufReader,
BufWriter,
} from "../../../test_util/std/io/buffer.ts";
-import { TextProtoReader } from "../../../test_util/std/textproto/mod.ts";
+import { TextProtoReader } from "../testdata/run/textproto.ts";
import {
assert,
assertEquals,
@@ -763,7 +763,7 @@ Deno.test(
const tpr = new TextProtoReader(r);
const statusLine = await tpr.readLine();
assert(statusLine !== null);
- const headers = await tpr.readMIMEHeader();
+ const headers = await tpr.readMimeHeader();
assert(headers !== null);
const chunkedReader = chunkedBodyReader(headers, r);
@@ -920,7 +920,7 @@ Deno.test(
assert(m !== null, "must be matched");
const [_, _proto, status, _ok] = m;
assertEquals(status, "200");
- const headers = await tpr.readMIMEHeader();
+ const headers = await tpr.readMimeHeader();
assert(headers !== null);
}
@@ -2342,7 +2342,7 @@ async function readTrailers(
if (trailers == null) return;
const trailerNames = [...trailers.keys()];
const tp = new TextProtoReader(r);
- const result = await tp.readMIMEHeader();
+ const result = await tp.readMimeHeader();
if (result == null) {
throw new Deno.errors.InvalidData("Missing trailer header.");
}