diff options
Diffstat (limited to 'cli/tests/unit/flash_test.ts')
-rw-r--r-- | cli/tests/unit/flash_test.ts | 8 |
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."); } |