File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -581,7 +581,9 @@ Deno.test("Effect getsSecond with function", async () => {
581581} ) ;
582582
583583Deno . 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
595597Deno . 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} ) ;
You can’t perform that action at this time.
0 commit comments