Add support for closing and deleting raw strings (KT-2582)

#KT-2582 Fixed
This commit is contained in:
Steven Spungin
2018-01-06 19:53:27 -05:00
committed by Nikolay Krasko
parent 5216dfcc59
commit 8252b35ed5
6 changed files with 130 additions and 0 deletions
@@ -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>",