I wonder if `expectThat(...)` was an `inline fun` ...
# strikt
d
I wonder if
expectThat(...)
was an
inline fun
with reified type param, you could technically pass that type down to the assertions and it could be a great help for things like collections... currently if I pass a
List<Foo>
to
expectThat
I can pass a
List<Baz>
that doesn't inherit from
Foo
to
contains
and that simply doesn't make sense... meaning refactoring to passing another type in the list could easily have the tests pass even though they shouldn't...