intellij-community
intellij-community copied to clipboard
Fixes KTIJ-18835: Adding curly braces with labeled object in string template
Fixes issue - KTIJ-18835
There is already a PR for this issue: https://github.com/JetBrains/intellij-community/pull/2374
Could you please add tests ?
Hi @vladimirdolzhenko, Can you please any reference / example for test cases. I haven’t wrote any test case for intellij plugin.
you can use something like test data used by https://github.com/JetBrains/intellij-community/blob/master/plugins/kotlin/completion/tests-k1/test/org/jetbrains/kotlin/idea/completion/test/handlers/BasicCompletionHandlerTestGenerated.java -> https://github.com/JetBrains/intellij-community/tree/master/plugins/kotlin/completion/testData/handlers/basic
to regererate test classes you can use org.jetbrains.kotlin.idea.testGenerator.all.GenerateAllTestsKt
or Generate Kotlin Tests (K1 + K2)
run configuration in IntelliJ
@vladimirdolzhenko Added test cases. Please check
@abhinav12k could you pls rebase on the latest master branch? as the actual commit has 5000+ changed files.
@vladimirdolzhenko Rebased. Can you please check