1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-02-25 02:46:01 +01:00

test for \c token always taking priority

This commit is contained in:
Emanuel Gestosa 2023-09-27 18:02:35 +01:00 committed by lippfi
parent 023838a96b
commit abe1abec72

View File

@ -116,6 +116,21 @@ class VimRegexTest {
)
}
@Test
fun `test find word case insensitive prevails`() {
doTest(
"""
|Lorem Ipsum
|
|${START}Lorem${END} ipsum dolor sit amet,
|consectetur adipiscing elit
|Sed in orci mauris.
|Cras id tellus in ex imperdiet egestas.
""".trimMargin(),
"\\ClO\\crEm\\C"
)
}
private fun doTest(
text: CharSequence,
pattern: String,