summaryrefslogtreecommitdiff
path: root/std/log/handlers_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/log/handlers_test.ts')
-rw-r--r--std/log/handlers_test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/std/log/handlers_test.ts b/std/log/handlers_test.ts
index 561b5c04a..b69ef6eab 100644
--- a/std/log/handlers_test.ts
+++ b/std/log/handlers_test.ts
@@ -22,7 +22,7 @@ class TestHandler extends BaseHandler {
}
}
-test(function simpleHandler(): void {
+test("simpleHandler", function (): void {
const cases = new Map<number, string[]>([
[
LogLevels.DEBUG,
@@ -68,7 +68,7 @@ test(function simpleHandler(): void {
}
});
-test(function testFormatterAsString(): void {
+test("testFormatterAsString", function (): void {
const handler = new TestHandler("DEBUG", {
formatter: "test {levelName} {msg}",
});
@@ -78,7 +78,7 @@ test(function testFormatterAsString(): void {
assertEquals(handler.messages, ["test DEBUG Hello, world!"]);
});
-test(function testFormatterAsFunction(): void {
+test("testFormatterAsFunction", function (): void {
const handler = new TestHandler("DEBUG", {
formatter: (logRecord): string =>
`fn formatter ${logRecord.levelName} ${logRecord.msg}`,