From b9799b46fd0afaf5cc81371c7343117a1352fbc8 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 13 Dec 2021 22:45:24 +0100 Subject: [PATCH] Fix test compilation --- .../java/im/vector/app/features/html/SpanUtilsTest.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vector/src/androidTest/java/im/vector/app/features/html/SpanUtilsTest.kt b/vector/src/androidTest/java/im/vector/app/features/html/SpanUtilsTest.kt index 1aeeed678a..d33fd4948a 100644 --- a/vector/src/androidTest/java/im/vector/app/features/html/SpanUtilsTest.kt +++ b/vector/src/androidTest/java/im/vector/app/features/html/SpanUtilsTest.kt @@ -97,7 +97,7 @@ class SpanUtilsTest : InstrumentedTest { } @Test - fun `test get binding options regular`() { + fun testGetBindingOptionsRegular() { val string = SpannableString("Text") val result = spanUtils.getBindingOptions(string) result.canUseTextFuture shouldBeEqualTo true @@ -105,7 +105,7 @@ class SpanUtilsTest : InstrumentedTest { } @Test - fun `test get binding options strikethrough`() { + fun testGetBindingOptionsStrikethrough() { val string = SpannableString("Text with strikethrough") string.setSpan(StrikethroughSpan(), 10, 23, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE) val result = spanUtils.getBindingOptions(string) @@ -114,7 +114,7 @@ class SpanUtilsTest : InstrumentedTest { } @Test - fun `test get binding options MetricAffectingSpan`() { + fun testGetBindingOptionsMetricAffectingSpan() { val string = SpannableString("Emoji \uD83D\uDE2E\u200D\uD83D\uDCA8") val result = spanUtils.getBindingOptions(string) result.canUseTextFuture shouldBeEqualTo false