From ef015904ff5f68fc3d73e07ef9bc94075cba25b9 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Wed, 21 Aug 2024 18:36:06 +0200 Subject: [PATCH] Rename test because method has been renamed. --- .../impl/model/MarkdownTextEditorStateTest.kt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libraries/textcomposer/impl/src/test/kotlin/io/element/android/libraries/textcomposer/impl/model/MarkdownTextEditorStateTest.kt b/libraries/textcomposer/impl/src/test/kotlin/io/element/android/libraries/textcomposer/impl/model/MarkdownTextEditorStateTest.kt index a6dc1a88f3..3cd714f950 100644 --- a/libraries/textcomposer/impl/src/test/kotlin/io/element/android/libraries/textcomposer/impl/model/MarkdownTextEditorStateTest.kt +++ b/libraries/textcomposer/impl/src/test/kotlin/io/element/android/libraries/textcomposer/impl/model/MarkdownTextEditorStateTest.kt @@ -51,7 +51,7 @@ class MarkdownTextEditorStateTest { } @Test - fun `insertMention - room alias - with member but failed PermalinkBuilder result`() { + fun `insertSuggestion - room alias - with member but failed PermalinkBuilder result`() { val state = MarkdownTextEditorState(initialText = "Hello #", initialFocus = true).apply { currentSuggestion = Suggestion(start = 6, end = 7, type = SuggestionType.Room, text = "") } @@ -63,7 +63,7 @@ class MarkdownTextEditorStateTest { } @Test - fun `insertMention - room alias`() { + fun `insertSuggestion - room alias`() { val state = MarkdownTextEditorState(initialText = "Hello #", initialFocus = true).apply { currentSuggestion = Suggestion(start = 6, end = 7, type = SuggestionType.Room, text = "") } @@ -75,7 +75,7 @@ class MarkdownTextEditorStateTest { } @Test - fun `insertMention - with no currentMentionSuggestion does nothing`() { + fun `insertSuggestion - with no currentMentionSuggestion does nothing`() { val state = MarkdownTextEditorState(initialText = "Hello @", initialFocus = true) val member = aRoomMember() val mention = ResolvedSuggestion.Member(member) @@ -88,7 +88,7 @@ class MarkdownTextEditorStateTest { } @Test - fun `insertMention - with member but failed PermalinkBuilder result`() { + fun `insertSuggestion - with member but failed PermalinkBuilder result`() { val state = MarkdownTextEditorState(initialText = "Hello @", initialFocus = true).apply { currentSuggestion = Suggestion(start = 6, end = 7, type = SuggestionType.Mention, text = "") } @@ -105,7 +105,7 @@ class MarkdownTextEditorStateTest { } @Test - fun `insertMention - with member`() { + fun `insertSuggestion - with member`() { val state = MarkdownTextEditorState(initialText = "Hello @", initialFocus = true).apply { currentSuggestion = Suggestion(start = 6, end = 7, type = SuggestionType.Mention, text = "") } @@ -123,7 +123,7 @@ class MarkdownTextEditorStateTest { } @Test - fun `insertMention - with @room`() { + fun `insertSuggestion - with @room`() { val state = MarkdownTextEditorState(initialText = "Hello @", initialFocus = true).apply { currentSuggestion = Suggestion(start = 6, end = 7, type = SuggestionType.Mention, text = "") }