diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2020-07-14 15:24:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-14 15:24:17 -0400 |
commit | cde4dbb35132848ffece59ef9cfaccff32347124 (patch) | |
tree | cc7830968c6decde704c8cfb83c9185193dc698f /std/log/logger_test.ts | |
parent | 9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff) |
Use dprint for internal formatting (#6682)
Diffstat (limited to 'std/log/logger_test.ts')
-rw-r--r-- | std/log/logger_test.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/std/log/logger_test.ts b/std/log/logger_test.ts index f7b438cba..08080356b 100644 --- a/std/log/logger_test.ts +++ b/std/log/logger_test.ts @@ -129,11 +129,11 @@ Deno.test( const inlineData: string | undefined = logger.debug( expensiveFunction, 1, - 2 + 2, ); assert(!called); assertEquals(inlineData, undefined); - } + }, ); Deno.test("String resolver fn resolves as expected", function (): void { @@ -235,7 +235,7 @@ Deno.test( }); const data18: { payload: string; other: number } = logger.error( { payload: "data", other: 123 }, - 1 + 1, ); assertEquals(data18, { payload: "data", @@ -243,5 +243,5 @@ Deno.test( }); assertEquals(handler.messages[16], 'ERROR {"payload":"data","other":123}'); assertEquals(handler.messages[17], 'ERROR {"payload":"data","other":123}'); - } + }, ); |