charleskorn
12/08/2018, 9:43 PMrobstoll
12/09/2018, 8:14 PMcharleskorn
12/09/2018, 10:16 PMassert({ ... }).toThrow<...>()), but I want to also make it clear for other cases that they should not throw - I can imply that it should succeed by just calling the function, but something like assert({ ... }).toNotThrow() makes it really clear what my intention ischarleskorn
12/09/2018, 10:18 PMrobstoll
12/11/2018, 3:50 PMfun <T : Throwable> Assert<T>.notToThrow () = thischarleskorn
12/11/2018, 3:53 PMThrowable, then it’s already throwncharleskorn
12/11/2018, 3:54 PMrobstoll
12/11/2018, 3:56 PMcharleskorn
12/11/2018, 3:57 PMcharleskorn
12/11/2018, 3:57 PMrobstoll
12/11/2018, 3:59 PMrobstoll
12/11/2018, 4:01 PMrobstoll
12/11/2018, 4:10 PMfun Assert<() -> Any?>.notToThrow () = subject ()robstoll
12/11/2018, 4:19 PMrobstoll
12/11/2018, 4:48 PMfun ThrowableThrown.Builder.notToThrow() = act()robstoll
01/19/2019, 11:47 PMnotToThrow() functioncharleskorn
01/20/2019, 1:05 AM