I am writing an assertion-library where a user can...
# announcements
r
I am writing an assertion-library where a user can do things like:
assert(Person) { its(subject::name).contains("Karel") }
and when I have a list and do things like: `assert(listOf<Person>()).contains.inAnyOrder.entries({ its(subject::name).contains("Karel") }`I get in the situation where I actually do not have a subject (because the list is empty) but I would still like to have the name of the feature the assertion is built on (in this case
name
)