diff options
Diffstat (limited to 'std/textproto')
-rw-r--r-- | std/textproto/reader_test.ts | 3 | ||||
-rw-r--r-- | std/textproto/test.ts | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/std/textproto/reader_test.ts b/std/textproto/reader_test.ts index 7aead064b..f0ae63894 100644 --- a/std/textproto/reader_test.ts +++ b/std/textproto/reader_test.ts @@ -21,9 +21,10 @@ function reader(s: string): TextProtoReader { test({ ignore: true, name: "[textproto] Reader : DotBytes", - async fn(): Promise<void> { + fn(): Promise<void> { const _input = "dotlines\r\n.foo\r\n..bar\n...baz\nquux\r\n\r\n.\r\nanot.her\r\n"; + return Promise.resolve(); } }); diff --git a/std/textproto/test.ts b/std/textproto/test.ts index 5b67bbf95..9a992a2cf 100644 --- a/std/textproto/test.ts +++ b/std/textproto/test.ts @@ -7,7 +7,7 @@ import { append } from "./mod.ts"; import { assertEquals } from "../testing/asserts.ts"; const { test } = Deno; -test(async function textprotoAppend(): Promise<void> { +test(function textprotoAppend(): void { const enc = new TextEncoder(); const dec = new TextDecoder(); const u1 = enc.encode("Hello "); |