Add test for MessageComposerPresenter

This commit is contained in:
Benoit Marty 2023-02-08 09:56:55 +01:00
parent 21084c26b2
commit f736b48a92
7 changed files with 205 additions and 7 deletions

View file

@ -24,6 +24,8 @@ class StableCharSequence(val charSequence: CharSequence) {
override fun hashCode() = hash
override fun equals(other: Any?) = other is StableCharSequence && other.hash == hash
override fun toString(): String = "StableCharSequence(\"$charSequence\")"
}
fun CharSequence.toStableCharSequence() = StableCharSequence(this)