Add support for closing and deleting raw strings (KT-2582)
#KT-2582 Fixed
This commit is contained in:
committed by
Nikolay Krasko
parent
5216dfcc59
commit
8252b35ed5
@@ -74,6 +74,12 @@ class TypedHandlerTest : LightCodeInsightTestCase() {
|
||||
"""val x = "$dollar{}]" """
|
||||
)
|
||||
|
||||
fun testAutoCloseRawString() = doCharTypeTest(
|
||||
'"',
|
||||
"""val x = ""<caret>""",
|
||||
"""val x = ""${'"'}"<caret>""${'"'}"""
|
||||
)
|
||||
|
||||
fun testAutoCloseBraceInFunctionDeclaration() = doCharTypeTest(
|
||||
'{',
|
||||
"fun foo() <caret>",
|
||||
|
||||
Reference in New Issue
Block a user