diff options
| author | Vincent LE GOFF <g_n_s@hotmail.fr> | 2019-04-24 13:41:23 +0200 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-04-24 07:41:22 -0400 |
| commit | dcd01dd02530df0e799eb4227087680ffeb80d74 (patch) | |
| tree | 8cc1dec75dd17c326fea6d7fe471b7e7a31032f7 /log/logger_test.ts | |
| parent | e1f7a60bb326f8299f339635c0738d28431afa0a (diff) | |
Eslint fixes (denoland/deno_std#356)
Make warnings fail
Original: https://github.com/denoland/deno_std/commit/4543b563a9a01c8c168aafcbfd9d4634effba7fc
Diffstat (limited to 'log/logger_test.ts')
| -rw-r--r-- | log/logger_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/log/logger_test.ts b/log/logger_test.ts index 702720160..eb4e7673d 100644 --- a/log/logger_test.ts +++ b/log/logger_test.ts @@ -19,7 +19,7 @@ class TestHandler extends BaseHandler { } } -test(function simpleLogger() { +test(function simpleLogger(): void { const handler = new TestHandler("DEBUG"); let logger = new Logger("DEBUG"); @@ -32,7 +32,7 @@ test(function simpleLogger() { assertEquals(logger.handlers, [handler]); }); -test(function customHandler() { +test(function customHandler(): void { const handler = new TestHandler("DEBUG"); const logger = new Logger("DEBUG", [handler]); @@ -51,7 +51,7 @@ test(function customHandler() { assertEquals(handler.messages, ["DEBUG foo"]); }); -test(function logFunctions() { +test(function logFunctions(): void { let handler: TestHandler; const doLog = (level: string): void => { |
