From 96fe2d10a4da0521b7cd72d90fd42121f9311978 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Sun, 6 Oct 2019 01:02:34 +0900 Subject: Update eslint and @typescript-eslint (denoland/deno_std#621) Original: https://github.com/denoland/deno_std/commit/c3fe858f98565edbe8faeb3cf2e5b873304f4f6e --- testing/bench_test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testing/bench_test.ts') 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 { bench(async function forAwaitFetchDenolandX10(b): Promise { 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 { await Promise.all( urls.map( async (denoland: string): Promise => { - let r = await fetch(denoland); + const r = await fetch(denoland); await r.text(); } ) -- cgit v1.2.3