Skip to content

Commit c5b84c6

Browse files
committed
chore(fmt): fun deno fmt on project
1 parent 82232c1 commit c5b84c6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

testing/effect.test.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,9 @@ Deno.test("Effect getsSecond with function", async () => {
581581
});
582582

583583
Deno.test("Effect getsSecond with Promise function", async () => {
584-
const getAsyncError = Effect.getsSecond((s: number) => Promise.resolve(s * 2));
584+
const getAsyncError = Effect.getsSecond((s: number) =>
585+
Promise.resolve(s * 2)
586+
);
585587
const result = await getAsyncError(21);
586588
assertEquals(result, [E.left(42), 21]);
587589
});
@@ -593,7 +595,9 @@ Deno.test("Effect putsSecond with sync function", async () => {
593595
});
594596

595597
Deno.test("Effect putsSecond with async function", async () => {
596-
const putsAsyncError = Effect.putsSecond((n: number) => Promise.resolve([n * 2]));
598+
const putsAsyncError = Effect.putsSecond((n: number) =>
599+
Promise.resolve([n * 2])
600+
);
597601
const result = await putsAsyncError(21);
598602
assertEquals(result, [E.left([42]), 42]);
599603
});

0 commit comments

Comments
 (0)