From 034e2cc02829c9244b32232074c7a48af827a2fb Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Sun, 10 Mar 2019 04:30:38 +1100 Subject: Migrate from tslint to eslint for linting (#1905) --- js/text_encoding_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/text_encoding_test.ts') diff --git a/js/text_encoding_test.ts b/js/text_encoding_test.ts index f7939499a..4eab24808 100644 --- a/js/text_encoding_test.ts +++ b/js/text_encoding_test.ts @@ -46,7 +46,7 @@ test(function textDecoderASCII() { test(function textDecoderErrorEncoding() { let didThrow = false; try { - const decoder = new TextDecoder("foo"); + new TextDecoder("foo"); } catch (e) { didThrow = true; assertEquals(e.message, "The encoding label provided ('foo') is invalid."); -- cgit v1.2.3