But I agree, having `prefix` and `postfix` wouldn'...
# language-proposals
m
But I agree, having
prefix
and
postfix
wouldn't hurt. I have this API on top of Espresso for UI Android testing:
Copy code
onId(R.id.sth).hasText("...")
onId(R.id.sth).isDisplayed()
and while I can
Copy code
onId(R.id.sth) hasText "..."
I don't do that because I can't do
Copy code
onId(R.id.sth) isDisplayed