From c2e4f47995d774dc7ab0746a514243fbf59c05bb Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Sat, 31 Oct 2020 07:50:45 +1100 Subject: [PATCH] doing too much Rust --- cli/tests/compiler_api_test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/tests/compiler_api_test.ts b/cli/tests/compiler_api_test.ts index 4e5e90829cf9e5..a236a3f3fa0654 100644 --- a/cli/tests/compiler_api_test.ts +++ b/cli/tests/compiler_api_test.ts @@ -14,7 +14,7 @@ Deno.test({ }); assert(diagnostics == null); assert(actual); - let keys = Object.keys(actual).sort(); + const keys = Object.keys(actual).sort(); assert(keys[0].endsWith("/bar.ts.js")); assert(keys[1].endsWith("/bar.ts.js.map")); assert(keys[2].endsWith("/foo.ts.js")); @@ -50,9 +50,9 @@ Deno.test({ ); assert(diagnostics == null); assert(actual); - let keys = Object.keys(actual); + const keys = Object.keys(actual); assertEquals(keys.length, 1); - let key = keys[0]; + const key = keys[0]; assert(key.endsWith("/foo.ts.js")); assert(actual[key].startsWith("define(")); },