summaryrefslogtreecommitdiff
path: root/std/textproto/test.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2020-07-14 15:24:17 -0400
committerGitHub <noreply@github.com>2020-07-14 15:24:17 -0400
commitcde4dbb35132848ffece59ef9cfaccff32347124 (patch)
treecc7830968c6decde704c8cfb83c9185193dc698f /std/textproto/test.ts
parent9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff)
Use dprint for internal formatting (#6682)
Diffstat (limited to 'std/textproto/test.ts')
-rw-r--r--std/textproto/test.ts9
1 files changed, 3 insertions, 6 deletions
diff --git a/std/textproto/test.ts b/std/textproto/test.ts
index a7109410b..1d4bed50b 100644
--- a/std/textproto/test.ts
+++ b/std/textproto/test.ts
@@ -96,8 +96,7 @@ Deno.test({
Deno.test({
name: "[textproto] Reader : MIME Header Non compliant",
async fn(): Promise<void> {
- const input =
- "Foo: bar\r\n" +
+ const input = "Foo: bar\r\n" +
"Content-Language: en\r\n" +
"SID : 0\r\n" +
"Audio Mode : None\r\n" +
@@ -143,9 +142,7 @@ Deno.test({
Deno.test({
name: "[textproto] Reader : MIME Header Trim Continued",
async fn(): Promise<void> {
- const input =
- "" + // for code formatting purpose.
- "a:\n" +
+ const input = "a:\n" +
" 0 \r\n" +
"b:1 \t\r\n" +
"c: 2\r\n" +
@@ -185,7 +182,7 @@ Deno.test({
const input = "abcdefghijklmnopqrstuvwxyz";
const bufSize = 25;
const tp = new TextProtoReader(
- new BufReader(new StringReader(input), bufSize)
+ new BufReader(new StringReader(input), bufSize),
);
const line = await tp.readLine();
assertEquals(line, input);