mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
Fix the test
This commit is contained in:
parent
c302148e89
commit
e8fbbe2b97
@ -39,6 +39,10 @@ class SpanUtilsTest : InstrumentedTest {
|
||||
|
||||
private val spanUtils = SpanUtils()
|
||||
|
||||
private fun SpanUtils.canUseTextFuture(message: CharSequence): Boolean {
|
||||
return getBindingOptions(message).canUseTextFuture
|
||||
}
|
||||
|
||||
@Test
|
||||
fun canUseTextFutureString() {
|
||||
spanUtils.canUseTextFuture("test").shouldBeTrue()
|
||||
|
Loading…
Reference in New Issue
Block a user