Alex Kuznetsov
05/01/2020, 8:01 PMevery { <http://myThing.do|myThing.do>() } returns 1 andThenThrows Exception("No way!") andThen 3 andThen 4
the line gets too wide, is there a way to continue it:
every { <http://myThing.do|myThing.do>() } returns 1
andThenThrows Exception("No way!")
andThen 3
andThen 4
TIA!Shawn
05/01/2020, 8:06 PM(every { myThing.execute() }
returns 1
andThenThrows Exception("No way!")
andThen 3
andThen 4)
or switch to a more postfix-looking style (which admittedly doesn’t look great)
every { myThing.execute() } returns
1 andThenThrows
Exception("No way!") andThen
3 andThen
4
(or… technically, you could just not call the functions as infix
😅)