Misleading readme?
Closed this issue · 2 comments
OliverCulleyDeLange commented
Steps to reproduce:
-
Read the readme - See that
val phone = KView { withId(R.id.phone) }
is declared as a KView -
Read further down in the readme - See that
phone { hasText("971201771") }
uses thehasText()
matcher -
Try it yourself, and wonder why hasText isn't available.
-
Try changing KView to KTextView and everything works as expected.
Observed Results:
KView does not have a hasText()
matcher
Expected Results:
KView should have a hasText()
matcher
Am i missing something?
Vacxe commented
Thanks for notice
Unlimity commented
Thank you for noticing and letting us know! The fix is merged now.