KakaoCup / Kakao

Nice and simple DSL for Espresso in Kotlin
https://kakaocup.github.io/Kakao/
Apache License 2.0
325 stars 28 forks source link

Compare TextInputLayout's hint and error as String #50

Closed iyakovlev closed 2 years ago

iyakovlev commented 2 years ago

See #49 The initial idea was to change hasError() and hasHint() methods signature and alter argument type from String to CharSequence, but since we can't be sure that CharSequence's implementation will override equals() method, the safest way to check that TextInputLayout has proper hint and error text is just to check the text equality.

iyakovlev commented 2 years ago

Don't worry @Vacxe! And thank you all for this project ❤️