elect
05/20/2020, 10:25 AMshouldBeSameInstanceAs
pawegio
05/20/2020, 10:36 AMinstance should { it is Type }
elect
05/20/2020, 10:37 AMassert
+ is
looks more conciseelect
05/20/2020, 10:37 AMthanksforallthefish
05/20/2020, 11:47 AMshouldBeSameInstanceAs
if you meant same instance, it checks reference equality which is what I understand with same instance)thanksforallthefish
05/20/2020, 11:48 AMinstance should beInstanceOf<Type>()
or instance.shouldBeInstanceOf<Type>()
if you like the non infix version moreelect
05/20/2020, 12:47 PM