summaryrefslogtreecommitdiff
path: root/testing/bench_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'testing/bench_test.ts')
-rw-r--r--testing/bench_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/bench_test.ts b/testing/bench_test.ts
index 1c6459bbb..8af2f0d6d 100644
--- a/testing/bench_test.ts
+++ b/testing/bench_test.ts
@@ -19,7 +19,7 @@ test(async function benching(): Promise<void> {
bench(async function forAwaitFetchDenolandX10(b): Promise<void> {
b.start();
for (let i = 0; i < 10; i++) {
- let r = await fetch("https://deno.land/");
+ const r = await fetch("https://deno.land/");
await r.text();
}
b.stop();
@@ -31,7 +31,7 @@ test(async function benching(): Promise<void> {
await Promise.all(
urls.map(
async (denoland: string): Promise<void> => {
- let r = await fetch(denoland);
+ const r = await fetch(denoland);
await r.text();
}
)