summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/fmt
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/fmt')
-rw-r--r--cli/tests/testdata/fmt/with_config/deno.jsonc3
-rw-r--r--cli/tests/testdata/fmt/with_config/subdir/a.ts18
2 files changed, 11 insertions, 10 deletions
diff --git a/cli/tests/testdata/fmt/with_config/deno.jsonc b/cli/tests/testdata/fmt/with_config/deno.jsonc
index 3b9474e64..8901d6222 100644
--- a/cli/tests/testdata/fmt/with_config/deno.jsonc
+++ b/cli/tests/testdata/fmt/with_config/deno.jsonc
@@ -13,7 +13,8 @@
"lineWidth": 40,
"indentWidth": 8,
"singleQuote": true,
- "proseWrap": "always"
+ "proseWrap": "always",
+ "semiColons": "asi"
}
}
}
diff --git a/cli/tests/testdata/fmt/with_config/subdir/a.ts b/cli/tests/testdata/fmt/with_config/subdir/a.ts
index 4baf8d485..5474b3aa3 100644
--- a/cli/tests/testdata/fmt/with_config/subdir/a.ts
+++ b/cli/tests/testdata/fmt/with_config/subdir/a.ts
@@ -4,33 +4,33 @@ Deno.test(
const response =
await fetch(
'http://localhost:4545/assets/fixture.json',
- );
+ )
const response1 =
- response.clone();
+ response.clone()
assert(
response !==
response1,
- );
+ )
assertEquals(
response.status,
response1
.status,
- );
+ )
assertEquals(
response.statusText,
response1
.statusText,
- );
+ )
const u8a =
new Uint8Array(
await response
.arrayBuffer(),
- );
+ )
const u8a1 =
new Uint8Array(
await response1
.arrayBuffer(),
- );
+ )
for (
let i = 0;
i <
@@ -40,7 +40,7 @@ Deno.test(
assertEquals(
u8a[i],
u8a1[i],
- );
+ )
}
},
-);
+)